/external/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 62 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/ |
D | SourceManagerTest.cpp | 77 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/ |
D | RewriterTestContext.h | 75 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/ |
D | IncrementalProcessingTest.cpp | 64 SM.setMainFileID(SM.createFileID( in IncrementalParseAST() 70 FileID FID = SM.createFileID( in IncrementalParseAST()
|
D | TestCompiler.h | 77 sm.setMainFileID(sm.createFileID(
|
/external/llvm-project/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 177 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()
|
D | PPConditionalDirectiveRecordTest.cpp | 74 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in TEST_F()
|
/external/llvm-project/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 60 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/ |
D | TweakTests.cpp | 56 auto FID = SM.createFileID(*FM.getFile(Path), SourceLocation(), in TEST()
|
/external/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 72 FileID FID = SourceMgr.createFileID(std::move(OwnBuf)); in AllocScratchBuffer()
|
/external/llvm-project/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 80 FileID FID = SourceMgr.createFileID(std::move(OwnBuf)); in AllocScratchBuffer()
|
/external/clang/unittests/CodeGen/ |
D | BufferSourceTest.cpp | 74 sm.setMainFileID(sm.createFileID( in TEST()
|
/external/clang/lib/Index/ |
D | SimpleFormatContext.h | 53 return Sources.createFileID(Entry, SourceLocation(), SrcMgr::C_User); in createInMemoryFile()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 778 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/ |
D | PPCallbacksTest.cpp | 161 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in InclusionDirectiveFilenameRange() 199 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(SourceBuf))); in PragmaOpenCLExtensionCall()
|
D | PPConditionalDirectiveRecordTest.cpp | 93 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); in TEST_F()
|
/external/llvm-project/clang/unittests/Frontend/ |
D | TextDiagnosticTest.cpp | 62 SrcMgr.createFileID(&fe, SourceLocation(), clang::SrcMgr::C_User); in TEST()
|
/external/llvm-project/clang/unittests/Format/ |
D | TestLexer.h | 105 SourceMgr.get().createFileID(Buffers.back()->getMemBufferRef()); in getNewLexer()
|
/external/clang/lib/Format/ |
D | TokenAnalyzer.cpp | 62 FileID ID = VirtualSM->createFileID(FileMgr->getFile(FileName), in CreateVirtualEnvironment()
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceManager.cpp | 527 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/ |
D | ClangHighlighter.cpp | 171 FileID FID = SM.createFileID(buf->getMemBufferRef()); in Highlight()
|
/external/llvm-project/clang/lib/Format/ |
D | MacroExpander.cpp | 139 clang::FileID FID = SourceMgr.createFileID(Buffers.back()->getMemBufferRef()); in parseDefinition()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 869 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/ |
D | ClangExpressionSourceCode.cpp | 224 FileID FID = SM.createFileID(buf->getMemBufferRef()); in TokenVerifier()
|
/external/clang/tools/clang-format/ |
D | ClangFormat.cpp | 117 return Sources.createFileID(Files.getFile(FileName), SourceLocation(), in createInMemoryFile()
|