================
@@ -270,6 +274,35 @@ namespace clang {
};
}
+bool clang::MayDefAffectABI(const Decl *D) {
+ if (auto *FD = dyn_cast<FunctionDecl>(D)) {
----------------
tbaederr wrote:
```suggestion
if (const auto *FD = dyn_cast<FunctionDecl>(D)) {
```
https://github.com/llvm/llvm-project/pull/71622