summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Parse')
-rw-r--r--clang/lib/Parse/ParseDeclCXX.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseDeclCXX.cpp b/clang/lib/Parse/ParseDeclCXX.cpp
index fe08fc5051e..d6b83f3fb2d 100644
--- a/clang/lib/Parse/ParseDeclCXX.cpp
+++ b/clang/lib/Parse/ParseDeclCXX.cpp
@@ -358,9 +358,8 @@ void Parser::ParseClassSpecifier(DeclSpec &DS,
NameLoc, Attr);
// Parse the optional base clause (C++ only).
- if (getLang().CPlusPlus && Tok.is(tok::colon)) {
+ if (getLang().CPlusPlus && Tok.is(tok::colon))
ParseBaseClause(TagOrTempDecl);
- }
// If there is a body, parse it and inform the actions module.
if (Tok.is(tok::l_brace))
OpenPOWER on IntegriCloud