Home
last modified time | relevance | path

Searched refs:SourceFileName (Results 1 – 4 of 4) sorted by relevance

/external/llvm/unittests/Support/
DReplaceFileTest.cpp62 SmallString<128> SourceFileName(TestDirectory); in TEST() local
63 path::append(SourceFileName, "source"); in TEST()
68 ASSERT_NO_ERROR(CreateFileWithContent(SourceFileName, "!!source!!")); in TEST()
78 EXPECT_TRUE(!fs::rename(SourceFileName, TargetFileName)); in TEST()
87 EXPECT_FALSE(fs::exists(SourceFileName)); in TEST()
104 EXPECT_TRUE(!fs::rename(TargetFileName, SourceFileName)); in TEST()
106 ASSERT_TRUE(fs::exists(SourceFileName)); in TEST()
109 ASSERT_NO_ERROR(fs::remove(SourceFileName)); in TEST()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp114 std::string SourceFileName; in NotifyObjectEmitted() local
159 SourceFileName = Lines.front().second.FileName; in NotifyObjectEmitted()
161 const_cast<char *>(SourceFileName.c_str()); in NotifyObjectEmitted()
/external/clang/lib/Lex/
DPragma.cpp642 StringRef SourceFileName; in HandlePragmaIncludeAlias() local
646 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias()
653 SourceFileName = FileNameBuffer; in HandlePragmaIncludeAlias()
699 StringRef OriginalSource = SourceFileName; in HandlePragmaIncludeAlias()
703 SourceFileName); in HandlePragmaIncludeAlias()
707 if (!SourceFileName.empty() && !ReplaceFileName.empty() && in HandlePragmaIncludeAlias()
716 << SourceFileName in HandlePragmaIncludeAlias()
/external/clang/lib/Basic/
DSourceManager.cpp1609 Optional<StringRef> SourceFileName; in translateFile() local
1627 SourceFileName = llvm::sys::path::filename(SourceFile->getName()); in translateFile()
1628 if (*SourceFileName == llvm::sys::path::filename(MainFile->getName())) { in translateFile()
1678 (SourceFileName || in translateFile()
1679 (SourceFileName = llvm::sys::path::filename(SourceFile->getName()))) && in translateFile()
1695 *SourceFileName == llvm::sys::path::filename(Entry->getName())) { in translateFile()