[PATCH] D52141: Thread safety analysis: Run more tests with capability attributes [NFC]
Aaron Puchert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 15 14:40:36 PDT 2018
aaronpuchert created this revision.
aaronpuchert added reviewers: aaron.ballman, delesley, grooverdan.
Herald added a subscriber: cfe-commits.
We run the tests for -Wthread-safety-{negative,verbose} with the new
attributes as well as the old ones. Also put the macros in a header so
that we don't have to copy them all around.
The warn-thread-safety-parsing.cpp test checks for warnings depending on
the actual attribute name, so it can't undergo the same treatment.
Together with https://reviews.llvm.org/D49275 this should fix PR33754.
Repository:
rC Clang
https://reviews.llvm.org/D52141
Files:
test/SemaCXX/thread-safety-annotations.h
test/SemaCXX/warn-thread-safety-analysis.cpp
test/SemaCXX/warn-thread-safety-negative.cpp
test/SemaCXX/warn-thread-safety-verbose.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52141.165662.patch
Type: text/x-patch
Size: 12692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180915/ffd58079/attachment-0001.bin>
More information about the cfe-commits
mailing list