diff options
author | Greg Clayton <gclayton@apple.com> | 2015-09-14 23:55:01 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-09-14 23:55:01 +0000 |
commit | 6c6eab162a2619fdb9db4463d286cf2e88734a41 (patch) | |
tree | 4c62f89cabe2d593da41737bd5af83593b5479f4 /clang/lib/Sema/SemaExpr.cpp | |
parent | 500c1e1adf638c7788b1d138ca82d71231d5f712 (diff) | |
download | bcm5719-llvm-6c6eab162a2619fdb9db4463d286cf2e88734a41.tar.gz bcm5719-llvm-6c6eab162a2619fdb9db4463d286cf2e88734a41.zip |
Avoid a crash in the test suite where if we have a ObjC "id" type and we ask it for the PointeeType() we would get a CompilerType with a valid TypeSystem, but invalid opaque type, and ClangASTContext::IsClangType() previously would return true saying that it was a valid clang type and it would crash in removing qualifiers from a clang::QualType that was constructed with an NULL opaque type.
llvm-svn: 247641
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions