Files
clang-p2996/clang/lib/AST/Stmt.cpp
Vitaly Buka 8826cd5782 [AST] Construct Capture objects before use
Msan reports https://reviews.llvm.org/P8308
The reason is if PointerIntPair is not properly
constructed, setPointer uses Info::updatePointer
on uninitialized value.

Reviewed By: #clang, rsmith

Differential Revision: https://reviews.llvm.org/D150504
2023-05-24 17:09:45 -07:00

49 KiB