]> granicus.if.org Git - clang/commit
[PCH] Reading expressions from attributes should be done using ReadExpr(),
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 15 Nov 2012 01:31:39 +0000 (01:31 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 15 Nov 2012 01:31:39 +0000 (01:31 +0000)
commit350aea7b794e4824f61d92f96140fbdcc0393588
tree6d06f5f179299b9c2869eb6fe9edd17fa2eb190f
parent5b64e77c2d51ca3e9313ed4107d3c4d927895cd6
[PCH] Reading expressions from attributes should be done using ReadExpr(),
not ReadExpr().

Also add a test case making sure the thread safety attributes work as expected
when they come from a PCH.

Fixes rdar://12584141 & http://llvm.org/PR13982

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168017 91177308-0d34-0410-b5e6-96231b3b80d8
test/PCH/thread-safety-attrs.cpp [new file with mode: 0644]
utils/TableGen/ClangAttrEmitter.cpp