[PATCH] D67854: Ensure AtomicExpr goes through SEMA checking after TreeTransform
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 20 11:37:39 PDT 2019
erichkeane created this revision.
erichkeane added a reviewer: eli.friedman.
Herald added a subscriber: jfb.
RebuildAtomicExpr was skipping doing semantic analysis which broke in
the cases where the expressions were not dependent. This resulted in the
ImplicitCastExpr from an array to a pointer being lost, causing a crash
in IR CodeGen.
https://reviews.llvm.org/D67854
Files:
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaChecking.cpp
clang/lib/Sema/TreeTransform.h
clang/test/AST/atomic-expr.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67854.221080.patch
Type: text/x-patch
Size: 14987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190920/8da4563a/attachment-0001.bin>
More information about the cfe-commits
mailing list