]> granicus.if.org Git - clang/commit
Fix a regression of a previous commit of mine (rdar://8158953).
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 4 Jul 2010 21:44:47 +0000 (21:44 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 4 Jul 2010 21:44:47 +0000 (21:44 +0000)
commit400f5125e2432d648f2c8a31b36a7f318a880c47
tree9907687ed59591454fe3a475cf02325ff33a45dd
parentc91e9f439ae85d5f79a6b65672f1d7d1b55ccda0
Fix a regression of a previous commit of mine (rdar://8158953).

Some of the invariant checks for creating Record/Enum types don't hold true during PCH reading.
Introduce more suitable ASTContext::getRecordType() and getEnumType().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107598 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
include/clang/AST/Decl.h
lib/AST/ASTContext.cpp
lib/Frontend/PCHReader.cpp
test/PCH/types.c
test/PCH/types.h