llvm-project/clang/include
Erik Pilkington 14f6d1527c [Sema] Fix an assert when a block captures a constexpr local
MarkVarDeclODRUsed indirectly calls captureInBlock, which creates a copy
expression. The copy expression is insulated in it's own
ExpressionEvaluationContext, so it saves, mutates, and restores MaybeODRUseExprs
as CleanupVarDeclMarking is iterating through it, leading to a crash. Fix this
by iterating through a local copy of MaybeODRUseExprs.

rdar://47493525

https://reviews.llvm.org/D59670

llvm-svn: 357040
2019-03-26 23:21:19 +00:00
..
clang [Sema] Fix an assert when a block captures a constexpr local 2019-03-26 23:21:19 +00:00
clang-c [libclang] Expose aligned() attribute. 2019-03-13 16:16:54 +00:00
CMakeLists.txt