Renamed ASQualType to ExtQualType to reflect its more
general use; as for, objc2's gc type attributes. No
change in functionality.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64778 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp
index 3a3b152..7b3e649 100644
--- a/lib/AST/ExprConstant.cpp
+++ b/lib/AST/ExprConstant.cpp
@@ -959,8 +959,8 @@
if (Ty->isFunctionType())
return 4;
- if (const ASQualType *ASQT = dyn_cast<ASQualType>(Ty))
- return GetAlignOfType(QualType(ASQT->getBaseType(), 0));
+ if (const ExtQualType *EXTQT = dyn_cast<ExtQualType>(Ty))
+ return GetAlignOfType(QualType(EXTQT->getBaseType(), 0));
// alignof VLA/incomplete array.
if (const ArrayType *VAT = dyn_cast<ArrayType>(Ty))