[clang] [clang][ASTVisitor] Visit `HoldingVar` from `BindingDecl`. (PR #117858)

Yitzhak Mandelbaum via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 10 12:05:37 PST 2024


================
@@ -143,6 +143,15 @@ const Formula &getFormula(const ValueDecl &D, const Environment &Env) {
   return cast<BoolValue>(Env.getValue(D))->formula();
 }
 
+const BindingDecl *findBindingDecl(const char *Name, ASTContext &ASTCtx) {
----------------
ymand wrote:

nit: Please use StringRef.

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


More information about the cfe-commits mailing list