Lines Matching refs:SourceMgr

123         SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions()) {  in PPCallbacksTest()
133 SourceManager SourceMgr; member in __anonca70cdbe0111::PPCallbacksTest
155 const char* B = SourceMgr.getCharacterData(Range.getBegin()); in GetSourceString()
156 const char* E = SourceMgr.getCharacterData(Range.getEnd()); in GetSourceString()
162 const char *B = SourceMgr.getCharacterData(Range.getBegin()); in GetSourceStringToEnd()
163 const char *E = SourceMgr.getCharacterData(Range.getEnd()); in GetSourceStringToEnd()
167 E - B + Lexer::MeasureTokenLength(Range.getEnd(), SourceMgr, LangOpts)); in GetSourceStringToEnd()
177 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in InclusionDirectiveFilenameRange()
181 HeaderSearch HeaderInfo(std::make_shared<HeaderSearchOptions>(), SourceMgr, in InclusionDirectiveFilenameRange()
186 SourceMgr, HeaderInfo, ModLoader, in InclusionDirectiveFilenameRange()
196 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in InclusionDirectiveCharacteristicKind()
200 HeaderSearch HeaderInfo(std::make_shared<HeaderSearchOptions>(), SourceMgr, in InclusionDirectiveCharacteristicKind()
205 SourceMgr, HeaderInfo, ModLoader, in InclusionDirectiveCharacteristicKind()
235 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in DirectiveExprRange()
236 HeaderSearch HeaderInfo(std::make_shared<HeaderSearchOptions>(), SourceMgr, in DirectiveExprRange()
239 SourceMgr, HeaderInfo, ModLoader, in DirectiveExprRange()
266 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(SourceBuf))); in PragmaOpenCLExtensionCall()
269 HeaderSearch HeaderInfo(std::make_shared<HeaderSearchOptions>(), SourceMgr, in PragmaOpenCLExtensionCall()
273 OpenCLLangOpts, SourceMgr, HeaderInfo, ModLoader, in PragmaOpenCLExtensionCall()
281 ASTContext Context(OpenCLLangOpts, SourceMgr, PP.getIdentifierTable(), in PragmaOpenCLExtensionCall()
489 SourceMgr, LangOpts), in TEST_F()