AST: Small code cleanup
Move the pointer to be adjacent to the variable instead of the type. No functional change. llvm-svn: 202089
This commit is contained in:
parent
8b6bd571c8
commit
1d4db8f719
|
@ -1764,7 +1764,7 @@ unsigned ASTContext::getPreferredTypeAlign(const Type *T) const {
|
||||||
const TypedefType *TT = T->getAs<TypedefType>();
|
const TypedefType *TT = T->getAs<TypedefType>();
|
||||||
|
|
||||||
// Double and long long should be naturally aligned if possible.
|
// 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();
|
T = CT->getElementType().getTypePtr();
|
||||||
if (T->isSpecificBuiltinType(BuiltinType::Double) ||
|
if (T->isSpecificBuiltinType(BuiltinType::Double) ||
|
||||||
T->isSpecificBuiltinType(BuiltinType::LongLong) ||
|
T->isSpecificBuiltinType(BuiltinType::LongLong) ||
|
||||||
|
|
Loading…
Reference in New Issue