switch function-like macros from using a vector for their arguments to an
explicitly new'd array.  The array never mutates once created, so a vector
is overkill.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39862 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Lex/MacroInfo.cpp b/Lex/MacroInfo.cpp
index e6dae42..a9a8ad7 100644
--- a/Lex/MacroInfo.cpp
+++ b/Lex/MacroInfo.cpp
@@ -23,6 +23,9 @@
   IsTargetSpecific = false;
   IsDisabled = false;
   IsUsed = true;
+  
+  ArgumentList = 0;
+  NumArguments = 0;
 }
 
 /// isIdenticalTo - Return true if the specified macro definition is equal to
@@ -34,7 +37,7 @@
 bool MacroInfo::isIdenticalTo(const MacroInfo &Other, Preprocessor &PP) const {
   // Check # tokens in replacement, number of args, and various flags all match.
   if (ReplacementTokens.size() != Other.ReplacementTokens.size() ||
-      Arguments.size() != Other.Arguments.size() ||
+      getNumArgs() != Other.getNumArgs() ||
       isFunctionLike() != Other.isFunctionLike() ||
       isC99Varargs() != Other.isC99Varargs() ||
       isGNUVarargs() != Other.isGNUVarargs())