ahatanak marked an inline comment as done. ahatanak added inline comments.
================ Comment at: clang/lib/AST/ExprConstant.cpp:14844 + if (auto *VD = Result.Base.dyn_cast<const ValueDecl *>()) + return Ctx.getDeclAlign(VD).alignmentAtOffset(Result.Offset); + ---------------- rjmccall wrote: > Does this do the right thing if `getDeclAlign` returns 0, or can that never > happen? I looked at `getDeclAlign` and, as far as I can tell, it returns an alignment that is larger than 0. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78767/new/ https://reviews.llvm.org/D78767 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits