summaryrefslogtreecommitdiff
path: root/lib/AST
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST')
-rw-r--r--lib/AST/DeclarationName.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/DeclarationName.cpp b/lib/AST/DeclarationName.cpp
index 596ecc593e..30c9f87e33 100644
--- a/lib/AST/DeclarationName.cpp
+++ b/lib/AST/DeclarationName.cpp
@@ -20,6 +20,7 @@
#include "clang/Basic/IdentifierTable.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/FoldingSet.h"
+#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
using namespace clang;
@@ -531,6 +532,7 @@ bool DeclarationNameInfo::containsUnexpandedParameterPack() const {
return Name.getCXXNameType()->containsUnexpandedParameterPack();
}
+ llvm_unreachable("All name kinds handled.");
}
std::string DeclarationNameInfo::getAsString() const {