summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-06-04 23:28:52 +0000
committerJohn McCall <rjmccall@apple.com>2010-06-04 23:28:52 +0000
commit8cb7bdfd33ebbf2f1dea9bb8f73cef89f1c489e9 (patch)
tree9d1b64d766137ee425f0f360e7cb04eb509e2085 /clang/lib/AST/ASTContext.cpp
parenta03e6f85fefb461a05343f2af413f9453df78e0c (diff)
downloadbcm5719-llvm-8cb7bdfd33ebbf2f1dea9bb8f73cef89f1c489e9.tar.gz
bcm5719-llvm-8cb7bdfd33ebbf2f1dea9bb8f73cef89f1c489e9.zip
Alter the interface of GetTypeForDeclarator to return a TypeSourceInfo*.
This is never null, but the associated type might be. llvm-svn: 105503
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 6e7bb0773cf..9aa8781592c 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -44,6 +44,7 @@ ASTContext::ASTContext(const LangOptions& LOpts, SourceManager &SM,
NSConstantStringTypeDecl(0),
ObjCFastEnumerationStateTypeDecl(0), FILEDecl(0), jmp_bufDecl(0),
sigjmp_bufDecl(0), BlockDescriptorType(0), BlockDescriptorExtendedType(0),
+ NullTypeSourceInfo(QualType()),
SourceMgr(SM), LangOpts(LOpts), FreeMemory(FreeMem), Target(t),
Idents(idents), Selectors(sels),
BuiltinInfo(builtins),
OpenPOWER on IntegriCloud