We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e1753 commit ac7bf31Copy full SHA for ac7bf31
clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-consteval.cpp
@@ -1,3 +1,7 @@
1
// RUN: %check_clang_tidy -std=c++20 %s misc-use-internal-linkage %t -- -- -I%S/Inputs/use-internal-linkage
2
3
consteval void gh122096() {}
4
+
5
+constexpr void cxf() {}
6
+// CHECK-MESSAGES: :[[@LINE-1]]:16: warning: function 'cxf'
7
+// CHECK-FIXES: static constexpr void cxf() {}
0 commit comments