aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Parse/ParseDecl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp
index 969e0b21b0..d2ec7aa48b 100644
--- a/lib/Parse/ParseDecl.cpp
+++ b/lib/Parse/ParseDecl.cpp
@@ -937,6 +937,7 @@ bool Parser::DiagnoseProhibitedCXX11Attribute() {
<< SourceRange(BeginLoc, EndLoc);
return true;
}
+ llvm_unreachable("All cases handled above.");
}
void Parser::DiagnoseProhibitedAttributes(ParsedAttributesWithRange &attrs) {