diff options
Diffstat (limited to 'clang/test/Analysis/copypaste/objc-methods.m')
-rw-r--r-- | clang/test/Analysis/copypaste/objc-methods.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/copypaste/objc-methods.m b/clang/test/Analysis/copypaste/objc-methods.m index 9b8002c003a..0636447eb87 100644 --- a/clang/test/Analysis/copypaste/objc-methods.m +++ b/clang/test/Analysis/copypaste/objc-methods.m @@ -7,7 +7,7 @@ @end @implementation A -- (int) setOk : (int) a : (int) b { // expected-warning{{Duplicate code detected}} +- (int) setOk : (int) a : (int) b { // expected-warning{{Detected code clone.}} if (a > b) return a; return b; @@ -19,7 +19,7 @@ @end @implementation B -- (int) setOk : (int) a : (int) b { // expected-note{{Similar code here}} +- (int) setOk : (int) a : (int) b { // expected-note{{Related code clone is here.}} if (a > b) return a; return b; |