minor code cleanup


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43512 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/ASTContext.cpp b/AST/ASTContext.cpp
index 40b7b64..93ec288 100644
--- a/AST/ASTContext.cpp
+++ b/AST/ASTContext.cpp
@@ -880,11 +880,9 @@
 
 // This returns true if a type has been typedefed to BOOL:
 // typedef <type> BOOL;
-static bool isTypeTypedefedAsBOOL(QualType T)
-{
+static bool isTypeTypedefedAsBOOL(QualType T) {
   if (const TypedefType *TT = dyn_cast<TypedefType>(T))
-      if (!strcmp(TT->getDecl()->getName(), "BOOL"))
-        return true;
+    return !strcmp(TT->getDecl()->getName(), "BOOL");
         
   return false;
 }