]> granicus.if.org Git - clang/commit
[Parse] Don't ignore attributes after a late-parsed attr.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 4 Jan 2017 22:43:01 +0000 (22:43 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 4 Jan 2017 22:43:01 +0000 (22:43 +0000)
commit5465b0d08829d04fe61f7aa142707fc020d35062
treedf77ec872827f76b5ee25d4aef865143c12c7694
parentd3ccc219f93a26f30fb1866c69f29faf6f988a12
[Parse] Don't ignore attributes after a late-parsed attr.

Without this, we drop everything after the first late-parsed attribute
in a single __attribute__. (Where "drop" means "stuff everything into
LA->Toks.")

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291020 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/Sema/warn-thread-safety-analysis.c