Skip to content

Commit f4e1978

Browse files
committed
update tests
1 parent c641dd2 commit f4e1978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/test/clang-tidy/checkers/misc/definitions-in-headers.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
int f() {
44
// CHECK-MESSAGES: :[[@LINE-1]]:5: warning: function 'f' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers]
5-
// CHECK-MESSAGES: :[[@LINE-2]]:5: note: make as 'inline'
5+
// CHECK-MESSAGES: :[[@LINE-2]]:5: note: mark the definition as 'inline'
66
// CHECK-FIXES: inline int f() {
77
return 1;
88
}

0 commit comments

Comments
 (0)