Fix my typo from r261278

llvm-svn: 261285
This commit is contained in:
Richard Trieu 2016-02-19 00:15:50 +00:00
parent 36706852d3
commit 54f82bfb80
1 changed files with 1 additions and 1 deletions

View File

@ -9898,7 +9898,7 @@ void Sema::DiagnoseCommaOperator(const Expr *LHS, SourceLocation Loc) {
// The whitelisted locations are the initialization and increment portions
// of a for loop. The additional checks are on the condition of
// if statements, do/while loops, and for loops.
const unsigned ForIncreamentFlags =
const unsigned ForIncrementFlags =
Scope::ControlScope | Scope::ContinueScope | Scope::BreakScope;
const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope;
const unsigned ScopeFlags = getCurScope()->getFlags();