================
@@ -325,6 +331,52 @@ class CIRGenModule : public CIRGenTypeCache {
clang::CharUnits getNaturalTypeAlignment(clang::QualType t,
----------------
HendrikHuebner wrote:
In classic codegen this function actually takes a `TBAAAccessInfo*` too, and
assigns it to the TBAA information obtained from the `QualType`. However, I
omitted this here since the function does not have anything to do with TBAA.
It seems like this was only added to avoid duplicating two lines of code at
some of the call sites.
https://github.com/llvm/llvm-project/pull/169226
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits