diff options
Diffstat (limited to 'lib/Format/FormatTokenLexer.h')
-rw-r--r-- | lib/Format/FormatTokenLexer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Format/FormatTokenLexer.h b/lib/Format/FormatTokenLexer.h index 3b79d27480e34..0cf357c85f3b1 100644 --- a/lib/Format/FormatTokenLexer.h +++ b/lib/Format/FormatTokenLexer.h @@ -22,6 +22,7 @@ #include "clang/Basic/SourceManager.h" #include "clang/Format/Format.h" #include "llvm/Support/Regex.h" +#include "llvm/ADT/MapVector.h" #include <stack> @@ -99,7 +100,8 @@ private: // Index (in 'Tokens') of the last token that starts a new line. unsigned FirstInLineIndex; SmallVector<FormatToken *, 16> Tokens; - SmallVector<IdentifierInfo *, 8> ForEachMacros; + + llvm::SmallMapVector<IdentifierInfo *, TokenType, 8> Macros; bool FormattingDisabled; |