[clang] modified AST for SEI redemption project (PR #111705)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 17 05:39:13 PDT 2024


================
@@ -1346,6 +1460,8 @@ void JSONNodeDumper::VisitDeclRefExpr(const DeclRefExpr *DRE) {
   case NOUR_Discarded: JOS.attribute("nonOdrUseReason", "discarded"); break;
   }
   attributeOnlyIfTrue("isImmediateEscalating", DRE->isImmediateEscalating());
+  // SEI: this doesn't call VisitNamedDecl, so we force it
----------------
AaronBallman wrote:

```suggestion
  // This doesn't call VisitNamedDecl, so we force it.
```

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


More information about the cfe-commits mailing list