summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-02-19 00:15:50 +0000
committerRichard Trieu <rtrieu@google.com>2016-02-19 00:15:50 +0000
commit54f82bfb802093d2f3790db8320a4712c657794e (patch)
treebbfe4e88f60596fcb0eb1ed530cea01be09dcff9 /clang/lib/Sema/SemaExpr.cpp
parent36706852d3e3d1eba9ce4423ed9e04dfebc58f55 (diff)
downloadbcm5719-llvm-54f82bfb802093d2f3790db8320a4712c657794e.tar.gz
bcm5719-llvm-54f82bfb802093d2f3790db8320a4712c657794e.zip
Fix my typo from r261278
llvm-svn: 261285
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index f3714072ce1..ad6280d6c74 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -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();
OpenPOWER on IntegriCloud