diff options
| author | Josh Gao <jmgao@google.com> | 2017-08-08 19:44:34 +0000 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2017-08-08 19:44:34 +0000 |
| commit | ec1369ed6ec52542a3928ff40df4358d85b0a30c (patch) | |
| tree | 6894a2a7a6e106079bdddb09fbf1d35d099e454f /clang/test/Sema/attr-capabilities.c | |
| parent | f1a425edb7d742a2ad697fa5dea7bc1dbfa9e533 (diff) | |
| download | bcm5719-llvm-ec1369ed6ec52542a3928ff40df4358d85b0a30c.tar.gz bcm5719-llvm-ec1369ed6ec52542a3928ff40df4358d85b0a30c.zip | |
Reland "Thread Safety Analysis: fix assert_capability."
Delete the test that was broken by rL309725, and add it back in a
follow up commit. Also, improve the tests a bit.
Reviewers: delesley, aaron.ballman
Differential Revision: https://reviews.llvm.org/D36237
llvm-svn: 310402
Diffstat (limited to 'clang/test/Sema/attr-capabilities.c')
| -rw-r--r-- | clang/test/Sema/attr-capabilities.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/test/Sema/attr-capabilities.c b/clang/test/Sema/attr-capabilities.c index 89967704865..88fdf306ac5 100644 --- a/clang/test/Sema/attr-capabilities.c +++ b/clang/test/Sema/attr-capabilities.c @@ -37,9 +37,6 @@ void Func6(void) __attribute__((requires_shared_capability(BadCapability))) {} void Func7(void) __attribute__((assert_capability(GUI))) {} void Func8(void) __attribute__((assert_shared_capability(GUI))) {} -void Func9(void) __attribute__((assert_capability())) {} // expected-error {{'assert_capability' attribute takes one argument}} -void Func10(void) __attribute__((assert_shared_capability())) {} // expected-error {{'assert_shared_capability' attribute takes one argument}} - void Func11(void) __attribute__((acquire_capability(GUI))) {} void Func12(void) __attribute__((acquire_shared_capability(GUI))) {} |

