[clang] [Modules] Record whether VarDecl initializers contain side effects (PR #143739)
Ben Langmuir via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 16 11:24:23 PDT 2025
================
@@ -1632,6 +1632,10 @@ RedeclarableResult ASTDeclReader::VisitVarDeclImpl(VarDecl *VD) {
VD->NonParmVarDeclBits.PreviousDeclInSameBlockScope =
VarDeclBits.getNextBit();
+ bool hasInitWithSideEffect = VarDeclBits.getNextBit();
----------------
benlangmuir wrote:
Style nit: **upper** camel case local variables.
https://github.com/llvm/llvm-project/pull/143739
More information about the cfe-commits
mailing list