Home
last modified time | relevance | path

Searched refs:createFileID (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/unittests/Basic/
DSourceManagerTest.cpp77 FileID mainFileID = SourceMgr.createFileID(std::move(Buf)); in TEST_F()
131 FileID MainFileID = SourceMgr.createFileID(std::move(Buf)); in TEST_F()
193 FileID mainFileID = SourceMgr.createFileID(std::move(MainBuf)); in TEST_F()
294 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(MainBuf))); in TEST_F()
/external/clang/unittests/Tooling/
DRewriterTestContext.h62 return Sources.createFileID(Entry, SourceLocation(), SrcMgr::C_User); in createInMemoryFile()
84 return Sources.createFileID(File, SourceLocation(), SrcMgr::C_User); in createOnDiskFile()
DRefactoringTest.cpp287 return Context.Sources.createFileID(File, SourceLocation(), SrcMgr::C_User); in createFile()
/external/clang/include/clang/Basic/
DSourceManager.h778 FileID createFileID(const FileEntry *SourceFile, SourceLocation IncludePos,
785 return createFileID(IR, IncludePos, FileCharacter, LoadedID, LoadedOffset);
792 FileID createFileID(std::unique_ptr<llvm::MemoryBuffer> Buffer,
796 return createFileID(createMemBufferContentCache(std::move(Buffer)),
805 return ID.isValid() ? ID : createFileID(SourceFile, SourceLocation(), in getOrCreateFileID()
1650 FileID createFileID(const SrcMgr::ContentCache* File,
/external/clang/lib/Lex/
DScratchBuffer.cpp72 FileID FID = SourceMgr.createFileID(std::move(OwnBuf)); in AllocScratchBuffer()
DPreprocessor.cpp525 FileID FID = SourceMgr.createFileID(std::move(SB)); in EnterMainSourceFile()
DPPDirectives.cpp2011 FileID FID = SourceMgr.createFileID(File, IncludePos, FileCharacter); in HandleIncludeDirective()
DModuleMap.cpp2450 FileID ID = SourceMgr.createFileID(File, ExternModuleLoc, FileCharacter); in parseModuleMapFile()
/external/clang/unittests/CodeGen/
DBufferSourceTest.cpp74 sm.setMainFileID(sm.createFileID( in TEST()
/external/clang/lib/Index/
DSimpleFormatContext.h53 return Sources.createFileID(Entry, SourceLocation(), SrcMgr::C_User); in createInMemoryFile()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp161 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in InclusionDirectiveFilenameRange()
199 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(SourceBuf))); in PragmaOpenCLExtensionCall()
DPPConditionalDirectiveRecordTest.cpp93 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in TEST_F()
DLexerTest.cpp64 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in Lex()
/external/clang/lib/Format/
DTokenAnalyzer.cpp62 FileID ID = VirtualSM->createFileID(FileMgr->getFile(FileName), in CreateVirtualEnvironment()
/external/clang/tools/clang-format/
DClangFormat.cpp117 return Sources.createFileID(Files.getFile(FileName), SourceLocation(), in createInMemoryFile()
/external/clang/lib/Frontend/
DCompilerInstance.cpp736 SourceMgr.setMainFileID(SourceMgr.createFileID( in InitializeSourceManager()
800 SourceMgr.createFileID(File, SourceLocation(), Kind)); in InitializeSourceManager()
813 SourceMgr.createFileID(File, SourceLocation(), Kind)); in InitializeSourceManager()
DCacheTokens.cpp518 FileID FID = SM.createFileID(FE, SourceLocation(), SrcMgr::C_User); in GeneratePTH()
DVerifyDiagnosticConsumer.cpp410 SM.createFileID(FE, Pos, SrcMgr::C_User); in ParseDirective()
/external/clang/lib/Tooling/Core/
DReplacement.cpp267 FileID ID = SourceMgr.createFileID(Files.getFile("<stdin>"), SourceLocation(), in applyAllReplacements()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp284 FileID FID = CSM.createFileID(std::move(CBuf)); in ConvertBackendLocation()
/external/clang/unittests/AST/
DCommentParser.cpp58 FileID File = SourceMgr.createFileID(std::move(Buf)); in parseString()
DCommentLexer.cpp64 FileID File = SourceMgr.createFileID(std::move(Buf)); in lexString()
/external/clang/lib/Basic/
DSourceManager.cpp559 FileID SourceManager::createFileID(const ContentCache *File, in createFileID() function in SourceManager
/external/clang/lib/ARCMigrate/
DObjCMT.cpp2169 FileID FID = SM.createFileID(FE, SourceLocation(), SrcMgr::C_User); in applyEditsToTemp()
/external/clang/lib/AST/
DASTImporter.cpp6422 ToID = ToSM.createFileID(Entry, ToIncludeLoc, in Import()
6431 ToID = ToSM.createFileID(std::move(ToBuf), in Import()

12