diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-03-08 17:10:18 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-03-08 17:10:18 +0000 |
commit | f52516038ab5d0b1b90a6dd32f46b7d6dabd04c8 (patch) | |
tree | fae904423f82efc8ac47edd383ab00d8ce223515 /lib/Serialization/ASTReaderDecl.cpp | |
parent | a2026c96d3935e7909e049ad9096762844544ed6 (diff) |
Teach libclang's token-annotation logic about context-sensitive
keywords for Objective-C+ and C++0x.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTReaderDecl.cpp')
-rw-r--r-- | lib/Serialization/ASTReaderDecl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Serialization/ASTReaderDecl.cpp b/lib/Serialization/ASTReaderDecl.cpp index 8d32bde5fc..81aad61698 100644 --- a/lib/Serialization/ASTReaderDecl.cpp +++ b/lib/Serialization/ASTReaderDecl.cpp @@ -1489,7 +1489,8 @@ Decl *ASTReader::ReadDeclRecord(unsigned Index, DeclID ID) { break; case DECL_CXX_METHOD: D = CXXMethodDecl::Create(*Context, 0, SourceLocation(), - DeclarationNameInfo(), QualType(), 0); + DeclarationNameInfo(), QualType(), 0, + false, SC_None, false, SourceLocation()); break; case DECL_CXX_CONSTRUCTOR: D = CXXConstructorDecl::Create(*Context, Decl::EmptyShell()); |