[clang] [C++20] [Modules] Introduce thin BMI (PR #71622)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 7 23:28:42 PST 2023


================
@@ -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


More information about the cfe-commits mailing list