Home
last modified time | relevance | path

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

123

/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()
/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/llvm-project/clang/unittests/Tooling/
DRewriterTestContext.h75 return Sources.createFileID(*Entry, SourceLocation(), SrcMgr::C_User); in createInMemoryFile()
98 return Sources.createFileID(*File, SourceLocation(), SrcMgr::C_User); in createOnDiskFile()
/external/llvm-project/clang/unittests/CodeGen/
DIncrementalProcessingTest.cpp64 SM.setMainFileID(SM.createFileID( in IncrementalParseAST()
70 FileID FID = SM.createFileID( in IncrementalParseAST()
DTestCompiler.h77 sm.setMainFileID(sm.createFileID(
/external/llvm-project/clang/unittests/Lex/
DPPCallbacksTest.cpp177 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in InclusionDirectiveFilenameRange()
196 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in InclusionDirectiveCharacteristicKind()
235 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in DirectiveExprRange()
266 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(SourceBuf))); in PragmaOpenCLExtensionCall()
DPPConditionalDirectiveRecordTest.cpp74 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in TEST_F()
/external/llvm-project/clang/unittests/Basic/
DSourceManagerTest.cpp60 FileID mainFileID = SourceMgr.createFileID(std::move(Buf)); in TEST_F()
114 FileID MainFileID = SourceMgr.createFileID(std::move(Buf)); in TEST_F()
262 FileID mainFileID = SourceMgr.createFileID(std::move(Buf)); in TEST_F()
287 FileID mainFileID = SourceMgr.createFileID(std::move(MainBuf)); in TEST_F()
412 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(MainBuf))); in TEST_F()
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/
DTweakTests.cpp56 auto FID = SM.createFileID(*FM.getFile(Path), SourceLocation(), in TEST()
/external/clang/lib/Lex/
DScratchBuffer.cpp72 FileID FID = SourceMgr.createFileID(std::move(OwnBuf)); in AllocScratchBuffer()
/external/llvm-project/clang/lib/Lex/
DScratchBuffer.cpp80 FileID FID = SourceMgr.createFileID(std::move(OwnBuf)); in AllocScratchBuffer()
/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/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/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()
/external/llvm-project/clang/unittests/Frontend/
DTextDiagnosticTest.cpp62 SrcMgr.createFileID(&fe, SourceLocation(), clang::SrcMgr::C_User); in TEST()
/external/llvm-project/clang/unittests/Format/
DTestLexer.h105 SourceMgr.get().createFileID(Buffers.back()->getMemBufferRef()); in getNewLexer()
/external/clang/lib/Format/
DTokenAnalyzer.cpp62 FileID ID = VirtualSM->createFileID(FileMgr->getFile(FileName), in CreateVirtualEnvironment()
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp527 FileID SourceManager::createFileID(const FileEntry *SourceFile, in createFileID() function in SourceManager
538 FileID SourceManager::createFileID(FileEntryRef SourceFile, in createFileID() function in SourceManager
552 FileID SourceManager::createFileID(std::unique_ptr<llvm::MemoryBuffer> Buffer, in createFileID() function in SourceManager
565 FileID SourceManager::createFileID(const llvm::MemoryBufferRef &Buffer, in createFileID() function in SourceManager
569 return createFileID(llvm::MemoryBuffer::getMemBuffer(Buffer), FileCharacter, in createFileID()
579 return ID.isValid() ? ID : createFileID(SourceFile, SourceLocation(), in getOrCreateFileID()
2210 FileID ID = SourceMgr->createFileID(*FileMgr->getFile(FileName), in SourceManagerForFile()
/external/llvm-project/lldb/source/Plugins/Language/ClangCommon/
DClangHighlighter.cpp171 FileID FID = SM.createFileID(buf->getMemBufferRef()); in Highlight()
/external/llvm-project/clang/lib/Format/
DMacroExpander.cpp139 clang::FileID FID = SourceMgr.createFileID(Buffers.back()->getMemBufferRef()); in parseDefinition()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h869 FileID createFileID(const FileEntry *SourceFile, SourceLocation IncludePos,
873 FileID createFileID(FileEntryRef SourceFile, SourceLocation IncludePos,
881 FileID createFileID(std::unique_ptr<llvm::MemoryBuffer> Buffer,
890 FileID createFileID(const llvm::MemoryBufferRef &Buffer,
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangExpressionSourceCode.cpp224 FileID FID = SM.createFileID(buf->getMemBufferRef()); in TokenVerifier()
/external/clang/tools/clang-format/
DClangFormat.cpp117 return Sources.createFileID(Files.getFile(FileName), SourceLocation(), in createInMemoryFile()

123