diff options
Diffstat (limited to 'clang/test/Analysis/use-after-move.cpp')
-rw-r--r-- | clang/test/Analysis/use-after-move.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/use-after-move.cpp b/clang/test/Analysis/use-after-move.cpp index e58301df8b5..c25f4393cdf 100644 --- a/clang/test/Analysis/use-after-move.cpp +++ b/clang/test/Analysis/use-after-move.cpp @@ -395,7 +395,7 @@ void uniqueTest(bool cond) { A b; b = std::move(a); // peaceful-note {{Object 'a' is moved}} - if (cond) { // peaceful-note {{Assuming 'cond' is not equal to 0}} + if (cond) { // peaceful-note {{Assuming 'cond' is true}} // peaceful-note@-1 {{Taking true branch}} a.foo(); // peaceful-warning {{Method called on moved-from object 'a'}} // peaceful-note@-1 {{Method called on moved-from object 'a'}} |