diff options
Diffstat (limited to 'clang/test/Analysis/dead-stores.m')
-rw-r--r-- | clang/test/Analysis/dead-stores.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Analysis/dead-stores.m b/clang/test/Analysis/dead-stores.m index 27543ab38139..240479b8dc75 100644 --- a/clang/test/Analysis/dead-stores.m +++ b/clang/test/Analysis/dead-stores.m @@ -45,8 +45,8 @@ void rdar_7631278(NSObject *x) { // This test case issuing a bogus warning for the declaration of 'isExec' // because the compound statement for the @synchronized was being visited // twice by the LiveVariables analysis. -BOOL baz_rdar8527823(); -void foo_rdar8527823(); +BOOL baz_rdar8527823(void); +void foo_rdar8527823(void); @interface RDar8527823 - (void) bar_rbar8527823; @end @@ -83,9 +83,9 @@ void foo_rdar8527823(); @property (assign) int x; @end -RDar10591355 *rdar10591355_aux(); +RDar10591355 *rdar10591355_aux(void); -void rdar10591355() { +void rdar10591355(void) { RDar10591355 *p = rdar10591355_aux(); ^{ (void) p.x; }(); } @@ -110,8 +110,8 @@ Radar11059352_1 *_Path; } @end -id test_objc_precise_lifetime_foo(); -void test_objc_precise_lifetime() { +id test_objc_precise_lifetime_foo(void); +void test_objc_precise_lifetime(void) { __attribute__((objc_precise_lifetime)) id dead = test_objc_precise_lifetime_foo(); // no-warning dead = 0; dead = test_objc_precise_lifetime_foo(); // no-warning |