Lines Matching defs:Scanner
62 struct Scanner { struct
63 Scanner(StringRef Input, in Scanner() argument
71 static LangOptions getLangOptsForDepScanning() { in getLangOptsForDepScanning()
154 DirectiveWithTokens &pushDirective(DirectiveKind Kind) { in pushDirective()
160 void popDirective() { in popDirective()
163 DirectiveKind topDirective() const { in topDirective()
167 unsigned getOffsetAt(const char *CurPtr) const { in getOffsetAt()
175 StringMap<char> SplitIds;
176 StringRef Input;
177 SmallVectorImpl<dependency_directives_scan::Token> &Tokens;
178 DiagnosticsEngine *Diags;
179 SourceLocation InputSourceLoc;
181 const char *LastTokenPtr = nullptr;
185 SmallVector<dependency_directives_scan::Token, 32> CurDirToks;
189 SmallVector<DirectiveWithTokens, 64> DirsWithToks;
190 LangOptions LangOpts;
191 Lexer TheLexer;