there is one of these per header, this almost always gets alloc/free'd for
each #ifdef.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62451
91177308-0d34-0410-b5e6-
96231b3b80d8
#include "clang/Lex/MultipleIncludeOpt.h"
#include "clang/Lex/Token.h"
-#include <vector>
+#include "llvm/ADT/SmallVector.h"
#include <string>
namespace clang {
/// ConditionalStack - Information about the set of #if/#ifdef/#ifndef blocks
/// we are currently in.
- std::vector<PPConditionalInfo> ConditionalStack;
+ llvm::SmallVector<PPConditionalInfo, 4> ConditionalStack;
PreprocessorLexer(const PreprocessorLexer&); // DO NOT IMPLEMENT
void operator=(const PreprocessorLexer&); // DO NOT IMPLEMENT