summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/copypaste/functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/copypaste/functions.cpp')
-rw-r--r--clang/test/Analysis/copypaste/functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/copypaste/functions.cpp b/clang/test/Analysis/copypaste/functions.cpp
index c95443de72d..2a871f74b03 100644
--- a/clang/test/Analysis/copypaste/functions.cpp
+++ b/clang/test/Analysis/copypaste/functions.cpp
@@ -4,14 +4,14 @@
void log();
-int max(int a, int b) { // expected-warning{{Duplicate code detected}}
+int max(int a, int b) { // expected-warning{{Detected code clone.}}
log();
if (a > b)
return a;
return b;
}
-int maxClone(int x, int y) { // expected-note{{Similar code here}}
+int maxClone(int x, int y) { // expected-note{{Related code clone is here.}}
log();
if (x > y)
return x;
OpenPOWER on IntegriCloud