================ @@ -14,9 +14,14 @@ using namespace clang::CIRGen; CIRGenTypes::CIRGenTypes(CIRGenModule &genModule) : cgm(genModule), astContext(genModule.getASTContext()), - builder(cgm.getBuilder()) {} + builder(cgm.getBuilder()), + theABIInfo(cgm.getTargetCIRGenInfo().getABIInfo()) {} -CIRGenTypes::~CIRGenTypes() {} +CIRGenTypes::~CIRGenTypes() { + using Iterator = llvm::FoldingSet<CIRGenFunctionInfo>::iterator; + for (Iterator i = functionInfos.begin(), e = functionInfos.end(); i != e;) ---------------- erichkeane wrote:
```suggestion for (auto i = functionInfos.begin(), e = functionInfos.end(); i != e;) ``` https://github.com/llvm/llvm-project/pull/135552 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits