diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-04-13 22:18:37 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-04-13 22:18:37 +0000 |
| commit | 38675543c578d60de3702881bbfcc8f7813018ee (patch) | |
| tree | ac060944cd02da68b861307e90517bf611abfb6f /clang/test/FixIt/no-macro-fixit.c | |
| parent | d0fb04f4372c3fdb86bcb5f4fccfa720f17d8114 (diff) | |
| download | bcm5719-llvm-38675543c578d60de3702881bbfcc8f7813018ee.tar.gz bcm5719-llvm-38675543c578d60de3702881bbfcc8f7813018ee.zip | |
Issue the 2nd fixit even if fix-it hint is supressed.
// rdar://9091893
llvm-svn: 129481
Diffstat (limited to 'clang/test/FixIt/no-macro-fixit.c')
| -rw-r--r-- | clang/test/FixIt/no-macro-fixit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/FixIt/no-macro-fixit.c b/clang/test/FixIt/no-macro-fixit.c index 3685ab10877..b6a9285e22f 100644 --- a/clang/test/FixIt/no-macro-fixit.c +++ b/clang/test/FixIt/no-macro-fixit.c @@ -10,6 +10,7 @@ void myFunc() { int value; while (value = va_arg(values, int)) { // expected-warning {{using the result of an assignment as a condition without parentheses}} \ - // expected-note {{use '==' to turn this assignment into an equality comparison}} + // expected-note {{use '==' to turn this assignment into an equality comparison}} \ + // expected-note {{place parentheses around the assignment to silence this warning}} } } |

