Lines Matching defs:Scanner
61 struct Scanner { struct
62 Scanner(StringRef Input, in Scanner() function
70 static LangOptions getLangOptsForDepScanning() { in getLangOptsForDepScanning()
130 DirectiveWithTokens &pushDirective(DirectiveKind Kind) { in pushDirective()
136 void popDirective() { in popDirective()
139 DirectiveKind topDirective() const { in topDirective()
143 unsigned getOffsetAt(const char *CurPtr) const { in getOffsetAt()
151 StringMap<char> SplitIds;
152 StringRef Input;
153 SmallVectorImpl<dependency_directives_scan::Token> &Tokens;
154 DiagnosticsEngine *Diags;
155 SourceLocation InputSourceLoc;
157 const char *LastTokenPtr = nullptr;
161 SmallVector<dependency_directives_scan::Token, 32> CurDirToks;
165 SmallVector<DirectiveWithTokens, 64> DirsWithToks;
166 LangOptions LangOpts;
167 Lexer TheLexer;