Polish yesterday's Array/ConstantArray/VariableArray rewrite, removing a couple FIXME's.

Refactored Array/VariableArray, moving SizeModifier/IndexTypeQuals back up to Array. These
attributes are not specific to VLA's. Most of them are specific to array parameter types.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41616 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Type.cpp b/AST/Type.cpp
index c0c278d..126f3d5 100644
--- a/AST/Type.cpp
+++ b/AST/Type.cpp
@@ -700,14 +700,14 @@
 void VariableArrayType::getAsStringInternal(std::string &S) const {
   S += '[';
   
-  if (IndexTypeQuals) {
-    AppendTypeQualList(S, IndexTypeQuals);
+  if (getIndexTypeQualifier()) {
+    AppendTypeQualList(S, getIndexTypeQualifier());
     S += ' ';
   }
   
-  if (SizeModifier == Static)
+  if (getSizeModifier() == Static)
     S += "static";
-  else if (SizeModifier == Star)
+  else if (getSizeModifier() == Star)
     S += '*';
   
   if (getSizeExpr()) {