================
@@ -2917,12 +2916,12 @@ bool Compiler<Emitter>::VisitUnaryExprOrTypeTraitExpr(
// default to 1 in those cases.
if (const auto *DRE = dyn_cast<DeclRefExpr>(Arg))
Size = ASTCtx.getDeclAlign(DRE->getDecl(),
- /*RefAsPointee*/ true);
+ /*ForAlignOf=*/true);
----------------
ojhunt wrote:
O_o
I really dislike our penchant for boolean parameters :-/
Time for a named parameters proposal in C++ :D
https://github.com/llvm/llvm-project/pull/232193
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits