[clang] [clang] Add visibility to AST dump (PR #218113)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 23:47:09 PDT 2026


================
@@ -1477,6 +1477,28 @@ void TextNodeDumper::dumpFormalLinkage(const NamedDecl *ND) {
   case Linkage::VisibleNone:
     llvm_unreachable("Not a formal linkage!");
   }
+
+  // FIXME: HLSLAttributedResourceType should always have contained type,
----------------
Endilll wrote:

Glad to hear that our AST invariants are intact. How do you want me to proceed here? I can leave this workaround, or I can fix `computeTypeLinkageInfo` if you know what is the linkage of an `HLSLAttributedResourceType` without a contained type.

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


More information about the cfe-commits mailing list