diagnose uses of deprecated typenames and tags.
We now pass all the deprecation tests in the objc.dg suite.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64679 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Parse/ParseDeclCXX.cpp b/lib/Parse/ParseDeclCXX.cpp
index fe08fc5..d6b83f3 100644
--- a/lib/Parse/ParseDeclCXX.cpp
+++ b/lib/Parse/ParseDeclCXX.cpp
@@ -358,9 +358,8 @@
                                      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))