[clang] [Clang] include attribute scope in diagnostics (PR #144619)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 26 04:28:32 PDT 2025
================
@@ -1382,6 +1382,15 @@ bool SemaHLSL::handleResourceTypeAttr(QualType T, const ParsedAttr &AL) {
return false;
Attr *A = nullptr;
+
+ AttributeCommonInfo ACI(
----------------
AaronBallman wrote:
Does this variable live long enough to make it to the diagnostics engine? I worry we're passing a reference that ends up dangling.
https://github.com/llvm/llvm-project/pull/144619
More information about the cfe-commits
mailing list