Skip to content

Commit be2739c

Browse files
Implement review comment - fix variable name
Signed-off-by: Elizabeth Andrews <[email protected]>
1 parent 3e7dbda commit be2739c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/include/clang/Analysis/CallGraph.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class CallGraph : public RecursiveASTVisitor<CallGraph> {
5555
/// A setting to determine whether this should include calls that are done in
5656
/// a constant expression's context. This DOES require the ASTContext object
5757
/// for constexpr-if, so setting it requires a valid ASTContext.
58-
bool shouldSkipConstexpr = false;
58+
bool ShouldSkipConstexpr = false;
5959
ASTContext *Ctx;
6060

6161
public:
@@ -145,10 +145,10 @@ class CallGraph : public RecursiveASTVisitor<CallGraph> {
145145
bool shouldWalkTypesOfTypeLocs() const { return false; }
146146
bool shouldVisitTemplateInstantiations() const { return true; }
147147
bool shouldVisitImplicitCode() const { return true; }
148-
bool shouldSkipConstantExpressions() const { return shouldSkipConstexpr; }
148+
bool shouldSkipConstantExpressions() const { return ShouldSkipConstexpr; }
149149
void setSkipConstantExpressions(ASTContext &Context) {
150150
Ctx = &Context;
151-
shouldSkipConstexpr = true;
151+
ShouldSkipConstexpr = true;
152152
}
153153
ASTContext &getASTContext() {
154154
assert(Ctx);

0 commit comments

Comments
 (0)