| /llvm-project/clang-tools-extra/clang-include-fixer/ |
| H A D | SymbolIndexManager.cpp | 58 double NewScore = similarityScore(FileName, Symbol.Symbol.getFilePath()) * in rank() 60 double &S = Score[Symbol.Symbol.getFilePath()]; in rank() 67 auto AS = Score[A.Symbol.getFilePath()]; in rank() 68 auto BS = Score[B.Symbol.getFilePath()]; in rank() 71 return A.Symbol.getFilePath() < B.Symbol.getFilePath(); in rank()
|
| H A D | IncludeFixer.cpp | 333 std::string FilePath = Symbol.getFilePath().str(); in getIncludeFixerContext() 411 StringRef FilePath = Context.getFilePath(); in createIncludeFixerReplacements() 437 R.getFilePath(), Replaces.getShiftedCodePosition(R.getOffset()), in createIncludeFixerReplacements()
|
| H A D | IncludeFixerContext.h | 64 StringRef getFilePath() const { return FilePath; } in getFilePath() function
|
| H A D | IncludeFixerContext.cpp | 100 {Symbol.getFilePath().str(), in IncludeFixerContext()
|
| /llvm-project/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 105 if (LHS.getFilePath() != RHS.getFilePath()) in operator <() 106 return LHS.getFilePath() < RHS.getFilePath(); in operator <() 113 LHS.getFilePath() == RHS.getFilePath() && in operator ==() 161 return Replacement(R.getFilePath(), NewStart, NewEnd - NewStart, in getReplacementInChangedCode() 208 R.getFilePath(), Prev.getOffset(), Prev.getLength() + R.getLength(), in getCanonicalReplacements() 248 if (!Replaces.empty() && R.getFilePath() != Replaces.begin()->getFilePath()) in add() [all...] |
| /llvm-project/clang/unittests/Tooling/ |
| H A D | ReplacementsYamlTest.cpp | 92 ASSERT_EQ("/path/to/file1.h", DocActual.Replacements[0].getFilePath()); in TEST() 96 ASSERT_EQ("/path/to/file2.h", DocActual.Replacements[1].getFilePath()); in TEST() 118 ASSERT_EQ("target_file.h", DocActual.Replacements[0].getFilePath()); in TEST()
|
| H A D | DiagnosticsYamlTest.cpp | 183 EXPECT_EQ("path/to/source.cpp", Fixes1[0].getFilePath()); in TEST() 196 EXPECT_EQ("path/to/header.h", Fixes2[0].getFilePath()); in TEST()
|
| H A D | TransformerTest.cpp | 1623 return L.getFilePath() < R.getFilePath(); in TEST_F() 1626 ASSERT_EQ(llvm::sys::path::convert_to_slash(Changes[0].getFilePath()), in TEST_F() 1637 ASSERT_EQ(Changes[1].getFilePath(), "input.cc"); in TEST_F() 1664 ASSERT_EQ(llvm::sys::path::convert_to_slash(Changes[0].getFilePath()), in TEST_F() 1708 return llvm::sys::path::convert_to_slash(C.getFilePath()); in TEST_F()
|
| H A D | RefactoringTest.cpp | 93 EXPECT_EQ("/path/to/file.cpp", Replace.getFilePath()); in TEST_F() 98 EXPECT_TRUE(Replace1.getFilePath().empty()); in TEST_F() 101 EXPECT_TRUE(Replace2.getFilePath().empty()); in TEST_F() 695 EXPECT_EQ(File, Replace.getFilePath()); in expectReplacementAt() 1163 EXPECT_EQ(ExpectedChange.getFilePath(), ActualChange.getFilePath()); in TEST_F() 1181 EXPECT_EQ("input.cpp", Change.getFilePath());
|
| /llvm-project/clang-tools-extra/clang-include-fixer/tool/ |
| H A D | ClangIncludeFixer.cpp | 241 << llvm::yaml::escape(Context.getFilePath()) << "\",\n" in writeToJson() 333 Context.getFilePath(), Style); in includeFixerMain() 368 std::string HeaderPath = Symbol.getFilePath().str(); in includeFixerMain() 411 StringRef FilePath = Context.getFilePath(); in includeFixerMain() 440 << Context.getFilePath() << "\n"; in includeFixerMain()
|
| /llvm-project/clang-tools-extra/clang-apply-replacements/lib/Tooling/ |
| H A D | ApplyReplacements.cpp | 143 SmallString<128> Path = R.getFilePath(); in groupReplacements() 158 errs() << "Described file '" << R.getFilePath() in groupReplacements() 224 R.getFilePath(), NewOffset, NewLength, R.getReplacementText()); in mergeAndDeduplicate()
|
| /llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | RenamingAction.cpp | 174 (*FileToReplaces)[std::string(Replace.getFilePath())].add(Replace); in convertChangesToFileReplacements() 176 llvm::errs() << "Renaming failed in " << Replace.getFilePath() << "! " in convertChangesToFileReplacements()
|
| /llvm-project/clang/include/clang/Tooling/ |
| H A D | ReplacementsYaml.h | 36 : FilePath(R.getFilePath()), Offset(R.getOffset()), in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| H A D | DiagnosticsYaml.h | 49 llvm::Error Err = M.Fix[Fix.getFilePath()].add(Fix); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| /llvm-project/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 53 Refactoring.FileToReplaces[std::string(Replacement.getFilePath())] in HandleTranslationUnit() 233 llvm::errs() << "Query and replace failed in " << Replacement.getFilePath() in run()
|
| /llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
| H A D | SymbolInfo.h | 88 llvm::StringRef getFilePath() const { return FilePath; } in getFilePath() function
|
| /llvm-project/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidy.cpp | 146 SmallString<128> FixAbsoluteFilePath = Repl.getFilePath(); in reportDiagnostic() 150 auto &Entry = FileReplacements[R.getFilePath()]; in reportDiagnostic() 163 R = Replacement(R.getFilePath(), NewOffset, NewLength, in reportDiagnostic() 273 FBR.FilePath = Repl.getFilePath().str(); in reportFix()
|
| /llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeExeSymbol.cpp | 75 return std::string(Session.getPDBFile().getFilePath()); in getSymbolsFileName()
|
| H A D | InputFile.cpp | 379 StringRef InputFile::getFilePath() const { in getFilePath() function in InputFile 381 return pdb().getFilePath(); in getFilePath()
|
| /llvm-project/clang/include/clang/Tooling/Refactoring/ |
| H A D | AtomicChange.h | 71 const std::string &getFilePath() const { return FilePath; } in getFilePath() function
|
| /llvm-project/clang-tools-extra/clangd/ |
| H A D | Format.cpp | 251 R.getFilePath(), R.getOffset(), OldCursor - R.getOffset(), in split() 254 R.getFilePath(), OldCursor, in split()
|
| /llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | PDBFile.h | 49 StringRef getFilePath() const;
|
| H A D | InputFile.h | 73 StringRef getFilePath() const;
|
| /llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | AtomicChange.cpp | 30 : Key(E.getKey()), FilePath(E.getFilePath()), Error(E.getError()), in NormalizedAtomicChange() 283 Replacement NewR(R.getFilePath(), NewOffset, 0, Text); in insert()
|
| /llvm-project/clang/include/clang/Tooling/Core/ |
| H A D | Replacement.h | 120 StringRef getFilePath() const { return FilePath; } in getFilePath() function
|