adding an unreachable annotation. Remarkably this one was already
enumarting every trait.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130647
91177308-0d34-0410-b5e6-
96231b3b80d8
ASTContext &C = Self.Context;
switch(UTT) {
- default: assert(false && "Unknown type trait or not implemented");
-
// Type trait expressions corresponding to the primary type category
// predicates in C++0x [meta.unary.cat].
case UTT_IsVoid:
// function call.
return !T->isIncompleteType();
}
+ llvm_unreachable("Type trait not covered by switch");
}