• Home
  • Raw
  • Download

Lines Matching refs:MemoryBuffer

27   llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
558 FS.addFile("c:/windows/system128/foo.cpp", 0, MemoryBuffer::getMemBuffer("")); in TEST_F()
565 FS.addFile("d:/windows/foo.cpp", 0, MemoryBuffer::getMemBuffer("")); in TEST_F()
571 FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F()
572 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F()
585 auto Buf = MemoryBuffer::getMemBuffer("a"); in TEST_F()
593 FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F()
594 FS.addFile("././c", 0, MemoryBuffer::getMemBuffer("c")); in TEST_F()
595 FS.addFile("./d/../d", 0, MemoryBuffer::getMemBuffer("d")); in TEST_F()
596 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F()
597 NormalizedFS.addFile("././c", 0, MemoryBuffer::getMemBuffer("c")); in TEST_F()
598 NormalizedFS.addFile("./d/../d", 0, MemoryBuffer::getMemBuffer("d")); in TEST_F()
620 ASSERT_TRUE(FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a"))); in TEST_F()
621 ASSERT_FALSE(FS.addFile("/a/b", 0, MemoryBuffer::getMemBuffer("a"))); in TEST_F()
622 ASSERT_TRUE(FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a"))); in TEST_F()
623 ASSERT_FALSE(FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("b"))); in TEST_F()
627 FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("")); in TEST_F()
628 FS.addFile("/b/c", 0, MemoryBuffer::getMemBuffer("")); in TEST_F()
651 FS.addFile("c", 0, MemoryBuffer::getMemBuffer("")); in TEST_F()
678 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer(Content); in getFromYAMLRawString()