Skip to content

Commit c8998ac

Browse files
committed
rename function
1 parent 3508b44 commit c8998ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Sema/SemaCodeCompletion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class SemaCodeCompletion : public SemaBase {
152152
void CodeCompleteDesignator(const QualType BaseType,
153153
llvm::ArrayRef<Expr *> InitExprs,
154154
const Designation &D);
155-
void CodeCompleteIfConstExpr(Scope *S) const;
155+
void CodeCompleteIfConstexpr(Scope *S) const;
156156
void CodeCompleteAfterIf(Scope *S, bool IsBracedThen);
157157

158158
void CodeCompleteQualifiedId(Scope *S, CXXScopeSpec &SS, bool EnteringContext,

clang/lib/Parse/ParseStmt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,7 @@ StmtResult Parser::ParseIfStatement(SourceLocation *TrailingElseLoc) {
15571557
if (Tok.is(tok::code_completion)) {
15581558
if (getLangOpts().CPlusPlus17) {
15591559
cutOffParsing();
1560-
Actions.CodeCompletion().CodeCompleteIfConstExpr(getCurScope());
1560+
Actions.CodeCompletion().CodeCompleteIfConstexpr(getCurScope());
15611561
return StmtError();
15621562
}
15631563
}

0 commit comments

Comments
 (0)