Lines Matching defs:Scanner
60 struct Scanner { struct
61 Scanner(StringRef Input, in Scanner() function
69 static LangOptions getLangOptsForDepScanning() { in getLangOptsForDepScanning()
126 DirectiveWithTokens &pushDirective(DirectiveKind Kind) { in pushDirective()
132 void popDirective() { in popDirective()
135 DirectiveKind topDirective() const { in topDirective()
139 unsigned getOffsetAt(const char *CurPtr) const { in getOffsetAt()
147 StringMap<char> SplitIds;
148 StringRef Input;
149 SmallVectorImpl<dependency_directives_scan::Token> &Tokens;
150 DiagnosticsEngine *Diags;
151 SourceLocation InputSourceLoc;
156 SmallVector<dependency_directives_scan::Token, 32> CurDirToks;
160 SmallVector<DirectiveWithTokens, 64> DirsWithToks;
161 LangOptions LangOpts;
162 Lexer TheLexer;