[llvm-branch-commits] [llvm] [IR2Vec] Make IR2VecCategory externally visible and reuse in llvm-ir2vec cl options (PR #153089)

S. VenkataKeerthy via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 27 13:08:18 PDT 2025


================
@@ -36,7 +36,7 @@ STATISTIC(VocabMissCounter,
 
 namespace llvm {
 namespace ir2vec {
-static cl::OptionCategory IR2VecCategory("IR2Vec Options");
+LLVM_EXTERNAL_VISIBILITY cl::OptionCategory IR2VecCategory("IR2Vec Options");
----------------
svkeerthy wrote:

Seems `LLVM_EXTERNAL_VISIBILITY` is not necessary. Removed it in both the places.

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


More information about the llvm-branch-commits mailing list