summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReaderDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-12-06 18:59:10 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-12-06 18:59:10 +0000
commit1eb71a1ba7b627ef50ac6b179676815237ac6a19 (patch)
treea702e6fd29b6be644ea21ea07ffefb18cf389daa /clang/lib/Serialization/ASTReaderDecl.cpp
parentb10aae3feca8ed68e7210f496914b4a69f105095 (diff)
downloadbcm5719-llvm-1eb71a1ba7b627ef50ac6b179676815237ac6a19.tar.gz
bcm5719-llvm-1eb71a1ba7b627ef50ac6b179676815237ac6a19.zip
Add a bit on FunctionDecl/ObjCMethodDecl to indicate if there was a body
that was skipped by the parser. llvm-svn: 169531
Diffstat (limited to 'clang/lib/Serialization/ASTReaderDecl.cpp')
-rw-r--r--clang/lib/Serialization/ASTReaderDecl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTReaderDecl.cpp b/clang/lib/Serialization/ASTReaderDecl.cpp
index 6693416b4a9..d201f539fab 100644
--- a/clang/lib/Serialization/ASTReaderDecl.cpp
+++ b/clang/lib/Serialization/ASTReaderDecl.cpp
@@ -528,6 +528,7 @@ void ASTDeclReader::VisitFunctionDecl(FunctionDecl *FD) {
FD->IsExplicitlyDefaulted = Record[Idx++];
FD->HasImplicitReturnZero = Record[Idx++];
FD->IsConstexpr = Record[Idx++];
+ FD->HasSkippedBody = Record[Idx++];
FD->EndRangeLoc = ReadSourceLocation(Record, Idx);
switch ((FunctionDecl::TemplatedKind)Record[Idx++]) {
@@ -652,6 +653,7 @@ void ASTDeclReader::VisitObjCMethodDecl(ObjCMethodDecl *MD) {
MD->setPropertyAccessor(Record[Idx++]);
MD->setDefined(Record[Idx++]);
MD->IsOverriding = Record[Idx++];
+ MD->HasSkippedBody = Record[Idx++];
MD->IsRedeclaration = Record[Idx++];
MD->HasRedeclaration = Record[Idx++];
OpenPOWER on IntegriCloud