diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-11-05 08:30:12 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-11-05 08:30:12 +0000 |
commit | ae78447ef124fcbc6bef14f73a67586420c0196a (patch) | |
tree | 230429673772fecfe5fc102a52c63fe159e63921 /test | |
parent | e2d78fe2bad61b6598c0f0ed445c7122d1f53bdf (diff) |
Tweak wording and classifications of analyzer diagnostics.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Analysis/misc-ps.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/misc-ps.m b/test/Analysis/misc-ps.m index 947b41ae79..80e20c1ebb 100644 --- a/test/Analysis/misc-ps.m +++ b/test/Analysis/misc-ps.m @@ -121,12 +121,12 @@ void check_zero_sized_VLA(int x) { if (x) return; - int vla[x]; // expected-warning{{Declare variable-length array (VLA) of zero size}} + int vla[x]; // expected-warning{{Declared variable-length array (VLA) has zero size}} } void check_uninit_sized_VLA() { int x; - int vla[x]; // expected-warning{{Declare variable-length array (VLA) of undefined size}} + int vla[x]; // expected-warning{{Declared variable-length array (VLA) uses a garbage value as its size}} } // sizeof(void) |