[PATCH] D131979: [clang][UBSan] Fix __builtin_assume_aligned crash
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 16 10:56:23 PDT 2022
rjmccall added a comment.
`getSubExprAsWritten`, as the name suggests, is a query for exploring the source code as written; it should generally not be used in CodeGen, which should be respecting the semantics of the AST. If Sema is applying implicit conversions that aren't desirable, we should fix that in Sema, if necessary by using custom type-checking.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131979/new/
https://reviews.llvm.org/D131979
More information about the cfe-commits
mailing list