summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/misc-definitions-in-headers.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/misc-definitions-in-headers.hpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/misc-definitions-in-headers.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/misc-definitions-in-headers.hpp b/clang-tools-extra/test/clang-tidy/misc-definitions-in-headers.hpp
index fb35749cd39..ab68c3363c8 100644
--- a/clang-tools-extra/test/clang-tidy/misc-definitions-in-headers.hpp
+++ b/clang-tools-extra/test/clang-tidy/misc-definitions-in-headers.hpp
@@ -28,7 +28,7 @@ void CA::f2() { }
template <>
int CA::f3() {
-// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: function 'f3' defined in a header file;
+// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: function 'f3<int>' defined in a header file;
int a = 1;
return a;
}
@@ -90,7 +90,7 @@ T f3() {
}
template <>
-// CHECK-MESSAGES: :[[@LINE+1]]:5: warning: function 'f3' defined in a header file;
+// CHECK-MESSAGES: :[[@LINE+1]]:5: warning: function 'f3<int>' defined in a header file;
int f3() {
int a = 1;
return a;
OpenPOWER on IntegriCloud