[llvm] [NFC][LLVM] Fix some `llvm` namespace usage in Bitcode writer (PR #141709)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed May 28 07:54:57 PDT 2025


================
@@ -23,6 +23,7 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/ADT/StringRef.h"
+#include "llvm/Analysis/ModuleSummaryAnalysis.h"
----------------
jurahul wrote:

This is an attempt to apply https://llvm.org/docs/CodingStandards.html#use-namespace-qualifiers-to-implement-previously-declared-functions to variables as well. I have another PR for the coding standard change (not yet approved).

Also, the idea that there is just one declaration in a header shared by all who access that variables.

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


More information about the llvm-commits mailing list