We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbaf5cb commit b627bdeCopy full SHA for b627bde
clang/lib/AST/Interp/State.h
@@ -71,7 +71,7 @@ class State {
71
virtual unsigned getCallStackDepth() = 0;
72
73
public:
74
- State() : InConstantContext(false) {}
+ State() = default;
75
/// Diagnose that the evaluation could not be folded (FF => FoldFailure)
76
OptionalDiagnostic
77
FFDiag(SourceLocation Loc,
@@ -121,7 +121,7 @@ class State {
121
122
/// Whether or not we're in a context where the front end requires a
123
/// constant value.
124
- bool InConstantContext;
+ bool InConstantContext = false;
125
126
private:
127
void addCallStack(unsigned Limit);
0 commit comments