================
@@ -2950,14 +2950,22 @@ bool
CodeGenModule::GetCPUAndFeaturesAttributes(GlobalDecl GD,
const auto *SD = FD ? FD->getAttr<CPUSpecificAttr>() : nullptr;
const auto *TC = FD ? FD->getAttr<TargetClonesAttr>() : nullptr;
bool AddedAttr = false;
+ auto HandleFeatureDelta = [&](llvm::StringMap<bool> &FeatureMap) {
----------------
arsenm wrote:
Should not be a lambda. Clang abuses lambdas for everything
https://github.com/llvm/llvm-project/pull/176533
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits