diff options
Diffstat (limited to 'clang/test/Analysis/diagnostics/undef-value-param.c')
| -rw-r--r-- | clang/test/Analysis/diagnostics/undef-value-param.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Analysis/diagnostics/undef-value-param.c b/clang/test/Analysis/diagnostics/undef-value-param.c index d06473cf106..597bf91fa24 100644 --- a/clang/test/Analysis/diagnostics/undef-value-param.c +++ b/clang/test/Analysis/diagnostics/undef-value-param.c @@ -17,7 +17,7 @@ void foo(int c, int *x) { } int use(int c) { - int xx; //expected-note{{Variable 'xx' declared without an initial value}} + int xx; //expected-note {{'xx' declared without an initial value}} int *y = &xx; foo (c, y); //expected-note@-1{{Calling 'foo'}} @@ -93,9 +93,9 @@ double testPassingParentRegionStruct(int x) { // CHECK-NEXT: </array> // CHECK-NEXT: <key>depth</key><integer>0</integer> // CHECK-NEXT: <key>extended_message</key> -// CHECK-NEXT: <string>Variable 'xx' declared without an initial value</string> +// CHECK-NEXT: <string>'xx' declared without an initial value</string> // CHECK-NEXT: <key>message</key> -// CHECK-NEXT: <string>Variable 'xx' declared without an initial value</string> +// CHECK-NEXT: <string>'xx' declared without an initial value</string> // CHECK-NEXT: </dict> // CHECK-NEXT: <dict> // CHECK-NEXT: <key>kind</key><string>control</string> |

