[clang] [clang-tools-extra] [clang-tidy][use-internal-linkage]fix false positives for global overloaded operator new and operator delete (PR #117945)
Congcong Cai via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 28 04:24:23 PST 2024
================
@@ -43,7 +43,7 @@ void test(void) {
}
extern void g3(int); // expected-note{{previous declaration is here}}
-static void g3(int x) { } // expected-error{{static declaration of 'g3' follows non-static declaration}}
+static void g3(int x) { } // expected-error{{static declaration of 'g3' }}
----------------
HerrCai0907 wrote:
it is a mistake. i will revert it.
https://github.com/llvm/llvm-project/pull/117945
More information about the cfe-commits
mailing list