r202089 - AST: Small code cleanup

David Majnemer david.majnemer at gmail.com
Mon Feb 24 15:43:27 PST 2014


Author: majnemer
Date: Mon Feb 24 17:43:27 2014
New Revision: 202089

URL: http://llvm.org/viewvc/llvm-project?rev=202089&view=rev
Log:
AST: Small code cleanup

Move the pointer to be adjacent to the variable instead of the type.

No functional change.

Modified:
    cfe/trunk/lib/AST/ASTContext.cpp

Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=202089&r1=202088&r2=202089&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Mon Feb 24 17:43:27 2014
@@ -1764,7 +1764,7 @@ unsigned ASTContext::getPreferredTypeAli
   const TypedefType *TT = T->getAs<TypedefType>();
 
   // Double and long long should be naturally aligned if possible.
-  if (const ComplexType* CT = T->getAs<ComplexType>())
+  if (const ComplexType *CT = T->getAs<ComplexType>())
     T = CT->getElementType().getTypePtr();
   if (T->isSpecificBuiltinType(BuiltinType::Double) ||
       T->isSpecificBuiltinType(BuiltinType::LongLong) ||





More information about the cfe-commits mailing list