diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-11-11 21:54:19 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-11-11 21:54:19 +0000 |
commit | 3365bfc6090fc87f8efaf1ade9aa1cea75cbfe75 (patch) | |
tree | 7626fbe3175467694c53bf6b8379e4dc74e28bca /clang/test/Sema/exprs.c | |
parent | cfc9d3fe17fbd3530f805e5116d96ce30b05e3d6 (diff) | |
download | bcm5719-llvm-3365bfc6090fc87f8efaf1ade9aa1cea75cbfe75.tar.gz bcm5719-llvm-3365bfc6090fc87f8efaf1ade9aa1cea75cbfe75.zip |
Revert r221702 until I address Richard Trieu's
comments.
llvm-svn: 221714
Diffstat (limited to 'clang/test/Sema/exprs.c')
-rw-r--r-- | clang/test/Sema/exprs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/test/Sema/exprs.c b/clang/test/Sema/exprs.c index 17b1aa2851b..2fb17e4880c 100644 --- a/clang/test/Sema/exprs.c +++ b/clang/test/Sema/exprs.c @@ -244,10 +244,6 @@ void test22() { if ("help") (void) 0; - if (test22) // expected-warning {{address of function 'test22' will always evaluate to 'true'}} \ - // expected-note {{prefix with the address-of operator to silence this warning}} - (void) 0; - - if (&test22) + if (test22) (void) 0; } |