/external/llvm-project/clang/include/clang/Tooling/Refactoring/ |
D | AtomicChange.h | 37 class AtomicChange { 43 AtomicChange(const SourceManager &SM, SourceLocation KeyPosition); 45 AtomicChange(const SourceManager &SM, SourceLocation KeyPosition, 49 AtomicChange(llvm::StringRef FilePath, llvm::StringRef Key) in AtomicChange() function 52 AtomicChange(AtomicChange &&) = default; 53 AtomicChange(const AtomicChange &) = default; 55 AtomicChange &operator=(AtomicChange &&) = default; 56 AtomicChange &operator=(const AtomicChange &) = default; 58 bool operator==(const AtomicChange &Other) const; 64 static AtomicChange convertFromYAML(llvm::StringRef YAMLContent); [all …]
|
/external/llvm-project/clang/lib/Tooling/Refactoring/ |
D | AtomicChange.cpp | 14 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::AtomicChange) 29 const clang::tooling::AtomicChange &E) in NormalizedAtomicChange() 36 clang::tooling::AtomicChange denormalize(const llvm::yaml::IO &) { in denormalize() 67 template <> struct MappingTraits<clang::tooling::AtomicChange> { 68 static void mapping(IO &Io, clang::tooling::AtomicChange &Doc) { in mapping() 69 MappingNormalization<NormalizedAtomicChange, clang::tooling::AtomicChange> in mapping() 145 llvm::ArrayRef<AtomicChange> Changes, in createReplacementsForHeaders() 184 llvm::ArrayRef<AtomicChange> Changes) { in combineReplacementsInChanges() 196 AtomicChange::AtomicChange(const SourceManager &SM, in AtomicChange() function in clang::tooling::AtomicChange 207 AtomicChange::AtomicChange(const SourceManager &SM, SourceLocation KeyPosition, in AtomicChange() function in clang::tooling::AtomicChange [all …]
|
D | CMakeLists.txt | 6 AtomicChange.cpp
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | RenamingAction.cpp | 144 Expected<std::vector<AtomicChange>> 148 std::vector<AtomicChange> Changes; in createRenameReplacements() 153 AtomicChange Change(SM, Ranges[0].getBegin()); in createRenameReplacements() 169 ArrayRef<AtomicChange> AtomicChanges, in convertChangesToFileReplacements() 171 for (const auto &AtomicChange : AtomicChanges) { in convertChangesToFileReplacements() local 172 for (const auto &Replace : AtomicChange.getReplacements()) { in convertChangesToFileReplacements() 223 Expected<std::vector<AtomicChange>> Change = in HandleOneRename()
|
D | USRLocFinder.cpp | 509 std::vector<tooling::AtomicChange> 518 std::vector<tooling::AtomicChange> AtomicChanges; in createRenameAtomicChanges() 521 tooling::AtomicChange ReplaceChange = tooling::AtomicChange(SM, Start); in createRenameAtomicChanges()
|
/external/llvm-project/clang-tools-extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ |
D | ApplyReplacements.h | 45 std::vector<tooling::AtomicChange>> 103 applyChanges(StringRef File, const std::vector<tooling::AtomicChange> &Changes,
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | Transformer.cpp | 46 std::map<FileID, AtomicChange> ChangesByFileID; in run() 50 .emplace(ID, AtomicChange(*Result.SourceManager, in run()
|
/external/llvm-project/clang-tools-extra/clang-apply-replacements/lib/Tooling/ |
D | ApplyReplacements.cpp | 209 tooling::AtomicChange FileChange(Entry->getName(), Entry->getName()); in mergeAndDeduplicate() 232 std::vector<tooling::AtomicChange>{FileChange}); in mergeAndDeduplicate() 239 applyChanges(StringRef File, const std::vector<tooling::AtomicChange> &Changes, in applyChanges()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 1111 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F() 1163 AtomicChange ExpectedChange(Context.Sources, DefaultLoc); in TEST_F() 1175 AtomicChange ActualChange = AtomicChange::convertFromYAML(YamlContent); in TEST_F() 1193 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F() 1199 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F() 1214 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F() 1225 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F() 1239 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F() 1253 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F() 1269 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F() [all …]
|
D | RefactoringActionRulesTest.cpp | 77 AtomicChange Change(SM, Loc); in TEST_F() 113 const_cast<AtomicChange &>(Result[0]).toYAMLString(); in TEST_F()
|
D | TransformerTest.cpp | 124 return [this](Expected<AtomicChange> C) { in consumer() 1590 [](const AtomicChange &L, const AtomicChange &R) { in TEST_F()
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
D | USRLocFinder.h | 37 std::vector<tooling::AtomicChange>
|
D | RenamingAction.h | 94 llvm::Expected<std::vector<AtomicChange>>
|
/external/llvm-project/clang/include/clang/Tooling/Transformer/ |
D | Transformer.h | 26 std::function<void(Expected<clang::tooling::AtomicChange> Change)>;
|
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Tooling/Refactoring/ |
D | BUILD.gn | 19 "AtomicChange.cpp",
|
/external/llvm-project/clang-tools-extra/tool-template/ |
D | ToolTemplate.cpp | 69 AtomicChange Change(*Result.SourceManager, D->getBeginLoc()); in run()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
D | Extract.cpp | 150 AtomicChange Change(SM, ExtractedDeclLocation); in createSourceReplacements()
|
/external/llvm-project/clang/tools/clang-refactor/ |
D | TestSupport.cpp | 71 OS << const_cast<tooling::AtomicChange &>(Change).toYAMLString() << "\n"; in dumpChanges()
|
/external/llvm-project/clang/docs/ |
D | RefactoringEngine.rst | 126 AtomicChange Replacement(Context.getSources(), Selection.getBegin());
|