diff options
author | John McCall <rjmccall@apple.com> | 2011-06-28 16:49:23 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-06-28 16:49:23 +0000 |
commit | d3d49bb27c7ffd9accc0a6c00e887111c0348845 (patch) | |
tree | 2f278e002be6d859c2dbdd201959cd941f00e707 /lib/AST/ASTContext.cpp | |
parent | 2ecc28a77207a5d24422956b3bc38d386209ab73 (diff) |
Be more thorough about mangling unresolved types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r-- | lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index 535f418ef3..a653e60efe 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -753,7 +753,7 @@ ASTContext::getTypeInfo(const Type *T) const { #define NON_CANONICAL_TYPE(Class, Base) #define DEPENDENT_TYPE(Class, Base) case Type::Class: #include "clang/AST/TypeNodes.def" - assert(false && "Should not see dependent types"); + llvm_unreachable("Should not see dependent types"); break; case Type::FunctionNoProto: |