[clang] [clang] Give unnamed namespaces internal linkage (PR #198215)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Mon May 18 03:55:25 PDT 2026
================
@@ -57,7 +57,7 @@ enum Enum {};
// CHECK: | |-EnumDecl {{.*}} Enum internal-linkage
enum { Enumerator };
-// CHECK: | |-EnumDecl {{.*}} internal-linkage
+// CHECK: | |-EnumDecl {{.*}}
----------------
Endilll wrote:
> I intend to follow this PR up with another PR that fixes the linkage of enumerations that have enumerator as its name for linkage purposes, in both external and internal linkage cases.
#198271
https://github.com/llvm/llvm-project/pull/198215
More information about the cfe-commits
mailing list