]> granicus.if.org Git - clang/commit
Read/write declaration attributes from/to PCH properly. Embed them in the declaration...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 18 Oct 2010 19:20:11 +0000 (19:20 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 18 Oct 2010 19:20:11 +0000 (19:20 +0000)
commit4eb9fc0449ddbd5239ddc3ae6b6e52880f47dcf7
tree8ddda4b4c7866fc96d51ed0492156ce438b7e554
parenteea742b0f60ebab8e5d2c233fe3996dbbd9fb892
Read/write declaration attributes from/to PCH properly. Embed them in the declaration block instead of trying to create another block.

The new block was messing with the assumption that after decls block comes the stmts block.
Fixes http://llvm.org/PR8406

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116737 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTBitCodes.h
include/clang/Serialization/ASTReader.h
include/clang/Serialization/ASTWriter.h
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/ASTWriterDecl.cpp
test/PCH/attrs-PR8406.c [new file with mode: 0644]