summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmtAttr.cpp
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2012-06-19 23:57:03 +0000
committerAlexis Hunt <alercah@gmail.com>2012-06-19 23:57:03 +0000
commit3bc72c1ec2b9828083cd0afad16fd655ca472916 (patch)
treed635d83cda9db8f4f23d945052c740e248a804e7 /clang/lib/Sema/SemaStmtAttr.cpp
parent3802bbf35ed95784a0764f06ead52802a06bbd33 (diff)
downloadbcm5719-llvm-3bc72c1ec2b9828083cd0afad16fd655ca472916.tar.gz
bcm5719-llvm-3bc72c1ec2b9828083cd0afad16fd655ca472916.zip
Reapply r158700 and fixup patches, minus one hunk that slipped through and
caused a crash in an obscure case. On the plus side, it caused me to catch another bug by inspection. llvm-svn: 158767
Diffstat (limited to 'clang/lib/Sema/SemaStmtAttr.cpp')
-rw-r--r--clang/lib/Sema/SemaStmtAttr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaStmtAttr.cpp b/clang/lib/Sema/SemaStmtAttr.cpp
index 60b2d1e3ff6..395b9d62596 100644
--- a/clang/lib/Sema/SemaStmtAttr.cpp
+++ b/clang/lib/Sema/SemaStmtAttr.cpp
@@ -48,7 +48,7 @@ static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A,
static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A,
SourceRange Range) {
switch (A.getKind()) {
- case AttributeList::AT_fallthrough:
+ case AttributeList::AT_FallThrough:
return handleFallThroughAttr(S, St, A, Range);
default:
// if we're here, then we parsed an attribute, but didn't recognize it as a
OpenPOWER on IntegriCloud