зеркало из https://github.com/microsoft/clang-1.git
Silence GCC warning about control reaching the end of the function and explicitly mark that all cases are handled.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121855 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
dda0c0dd63
Коммит
f24e54a0c8
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче