[clang] [clang][NFC] declare internal linkage function static (PR #108759)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 15 22:51:36 PDT 2024


================
@@ -12,6 +12,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "Move.h"
----------------
HerrCai0907 wrote:

It is not unrelated. `::clang::ento::move::isMovedFrom` has declaration in "Move.h" but since missing this header, It is treated by clang-tidy check as internal linkage.

I think we need to add this include to make the declaration and definition in the same file.

https://github.com/llvm/llvm-project/pull/108759


More information about the cfe-commits mailing list