• Home
  • Raw
  • Download

Lines Matching refs:SourceMgr

54       SourceMgr(Diags, FileMgr),  in LexerTest()
64 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in Lex()
67 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, in Lex()
69 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, in Lex()
103 SourceMgr, LangOpts, &Invalid); in getSourceText()
113 SourceManager SourceMgr; member in __anon5fadadf90111::LexerTest
296 macroPair = SourceMgr.getExpansionRange(lsqrLoc); in TEST_F()
300 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc)); in TEST_F()
302 EXPECT_FALSE(Lexer::isAtStartOfMacroExpansion(idLoc, SourceMgr, LangOpts)); in TEST_F()
303 EXPECT_FALSE(Lexer::isAtEndOfMacroExpansion(idLoc, SourceMgr, LangOpts)); in TEST_F()
304 EXPECT_TRUE(Lexer::isAtEndOfMacroExpansion(rsqrLoc, SourceMgr, LangOpts, &Loc)); in TEST_F()
308 CharSourceRange::getTokenRange(lsqrLoc, idLoc), SourceMgr, LangOpts); in TEST_F()
311 SourceMgr, LangOpts); in TEST_F()
314 SourceMgr, LangOpts); in TEST_F()
322 SourceMgr, LangOpts); in TEST_F()
328 SourceLocation fileLsqrLoc = SourceMgr.getSpellingLoc(macroLsqrLoc); in TEST_F()
329 SourceLocation fileIdLoc = SourceMgr.getSpellingLoc(macroIdLoc); in TEST_F()
330 SourceLocation fileRsqrLoc = SourceMgr.getSpellingLoc(macroRsqrLoc); in TEST_F()
334 SourceMgr, LangOpts); in TEST_F()
339 SourceMgr, LangOpts); in TEST_F()
343 macroPair = SourceMgr.getExpansionRange(macroLsqrLoc); in TEST_F()
346 SourceMgr, LangOpts); in TEST_F()
352 SourceMgr, LangOpts); in TEST_F()
360 EXPECT_EQ("INN", Lexer::getImmediateMacroName(idLoc1, SourceMgr, LangOpts)); in TEST_F()
361 EXPECT_EQ("INN", Lexer::getImmediateMacroName(idLoc2, SourceMgr, LangOpts)); in TEST_F()
362 EXPECT_EQ("NOF2", Lexer::getImmediateMacroName(idLoc3, SourceMgr, LangOpts)); in TEST_F()
363 EXPECT_EQ("N", Lexer::getImmediateMacroName(idLoc4, SourceMgr, LangOpts)); in TEST_F()
380 EXPECT_EQ(SourceMgr.getFileIDSize(SourceMgr.getFileID(helper1ArgLoc)), 8U); in TEST_F()