[clang] [clang-repl] [codegen] Reduce the state in TBAA. NFC for static compilation. (PR #98138)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 14 10:19:22 PDT 2024
================
@@ -106,9 +101,9 @@ class CodeGenTypes {
}
CodeGenModule &getCGM() const { return CGM; }
ASTContext &getContext() const { return Context; }
- const ABIInfo &getABIInfo() const { return TheABIInfo; }
+ const ABIInfo &getABIInfo() const;
----------------
efriedma-quic wrote:
Given almost all the callers of getABIInfo() are calling `CGM.getTypes().getABIInfo()`, we probably want to just move this helper to CodeGenModule.
https://github.com/llvm/llvm-project/pull/98138
More information about the cfe-commits
mailing list