Skip to content

Commit c6fdb1a

Browse files
committed
Address review feedback
1 parent 37816ad commit c6fdb1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CIR/CodeGen/CIRGenClass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ struct DynamicThisUseChecker
134134
: ConstEvaluatedExprVisitor<DynamicThisUseChecker> {
135135
using super = ConstEvaluatedExprVisitor<DynamicThisUseChecker>;
136136

137-
bool usesThis;
137+
bool usesThis = false;
138138

139-
DynamicThisUseChecker(const ASTContext &c) : super(c), usesThis(false) {}
139+
DynamicThisUseChecker(const ASTContext &c) : super(c) {}
140140

141141
// Black-list all explicit and implicit references to 'this'.
142142
//

0 commit comments

Comments
 (0)