diff options
author | Alexander Kornienko <alexfh@google.com> | 2012-07-09 10:04:07 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2012-07-09 10:04:07 +0000 |
commit | 20f6fc6220d7b6ddef7103bac1c31a9a18e559b2 (patch) | |
tree | 664ae3458ef8e4454b6c87c6bbf73720a072d2cb /clang/lib/Serialization/ASTWriterStmt.cpp | |
parent | 75b9cfd1f091ab0597127567885bda154394f422 (diff) | |
download | bcm5719-llvm-20f6fc6220d7b6ddef7103bac1c31a9a18e559b2.tar.gz bcm5719-llvm-20f6fc6220d7b6ddef7103bac1c31a9a18e559b2.zip |
Inline storage of attributes in AttributedStmt.
llvm-svn: 159925
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriterStmt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTWriterStmt.cpp b/clang/lib/Serialization/ASTWriterStmt.cpp index aa24962b664..f63388fa2fd 100644 --- a/clang/lib/Serialization/ASTWriterStmt.cpp +++ b/clang/lib/Serialization/ASTWriterStmt.cpp @@ -109,6 +109,7 @@ void ASTStmtWriter::VisitLabelStmt(LabelStmt *S) { void ASTStmtWriter::VisitAttributedStmt(AttributedStmt *S) { VisitStmt(S); + Record.push_back(S->getAttrs().size()); Writer.WriteAttributes(S->getAttrs(), Record); Writer.AddStmt(S->getSubStmt()); Writer.AddSourceLocation(S->getAttrLoc(), Record); |