[clang] [Clang] Add C++11 spelling support for guarded_by attribute (PR #167048)

Pranjal Prajapati via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 12 09:11:00 PST 2025


================
@@ -394,6 +394,13 @@ til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE,
   if (const auto *VarD = dyn_cast<VarDecl>(VD))
     return translateVariable(VarD, Ctx);
 
+  if (const auto *FD = dyn_cast<FieldDecl>(VD)) {
----------------
Pranjal095 wrote:

I understand. Should I handle this semantic change in another patch, and target this issue once I've completed my research on the different attribute spellings that should be supported?

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


More information about the cfe-commits mailing list