diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-08 23:14:30 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-08 23:14:30 +0000 |
commit | 4c7c109eecfb60c3f3a76606d7c853617914b743 (patch) | |
tree | fff05daaf5290f1c6987d05b386b73be7c5ff56a /clang/lib/Sema/Sema.cpp | |
parent | c3e9c404aa36c696986b30689f52acea7c382ba6 (diff) | |
download | bcm5719-llvm-4c7c109eecfb60c3f3a76606d7c853617914b743.tar.gz bcm5719-llvm-4c7c109eecfb60c3f3a76606d7c853617914b743.zip |
Fix a few minor issues with parsing and semantic analysis of C++
typeid expressions:
- make sure we have a proper source location for the closing ')'
- cache the declaration of std::type_info once we've found it
llvm-svn: 113441
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
-rw-r--r-- | clang/lib/Sema/Sema.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp index 3bb205ac17f..e8d2c1e4201 100644 --- a/clang/lib/Sema/Sema.cpp +++ b/clang/lib/Sema/Sema.cpp @@ -134,7 +134,7 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, Diags(PP.getDiagnostics()), SourceMgr(PP.getSourceManager()), ExternalSource(0), CodeCompleter(CodeCompleter), CurContext(0), PackContext(0), VisContext(0), ParsingDeclDepth(0), - IdResolver(pp.getLangOptions()), MSVCGuidDecl(0), + IdResolver(pp.getLangOptions()), CXXTypeInfoDecl(0), MSVCGuidDecl(0), GlobalNewDeleteDeclared(false), CompleteTranslationUnit(CompleteTranslationUnit), NumSFINAEErrors(0), SuppressAccessChecking(false), |