diff options
Diffstat (limited to 'clang/test/Analysis/copypaste/blocks.cpp')
-rw-r--r-- | clang/test/Analysis/copypaste/blocks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/copypaste/blocks.cpp b/clang/test/Analysis/copypaste/blocks.cpp index 133b5cbcd6a..0bd981267e8 100644 --- a/clang/test/Analysis/copypaste/blocks.cpp +++ b/clang/test/Analysis/copypaste/blocks.cpp @@ -4,14 +4,14 @@ void log(); -auto BlockA = ^(int a, int b){ // expected-warning{{Duplicate code detected}} +auto BlockA = ^(int a, int b){ // expected-warning{{Detected code clone.}} log(); if (a > b) return a; return b; }; -auto BlockB = ^(int a, int b){ // expected-note{{Similar code here}} +auto BlockB = ^(int a, int b){ // expected-note{{Related code clone is here.}} log(); if (a > b) return a; |