Searched refs:AtomicChange (Results 1 - 11 of 11) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DAtomicChange.h1 //===--- AtomicChange.h - AtomicChange class --------------------*- C++ -*-===//
9 // This file defines AtomicChange which is used to create a set of source
28 /// e.g. replacements or header insertions. Edits in an AtomicChange should be
32 /// An AtomicChange is uniquely identified by a key and will either be fully
35 /// Calling setError on an AtomicChange stores the error message and marks it as
37 class AtomicChange { class in namespace:clang::tooling
43 AtomicChange(const SourceManager &SM, SourceLocation KeyPosition);
45 AtomicChange(const SourceManager &SM, SourceLocation KeyPosition,
49 AtomicChange(llv function in class:clang::tooling::AtomicChange
130 AtomicChange() {} function in class:clang::tooling::AtomicChange
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp1 //===--- AtomicChange.cpp - AtomicChange implementation -----------------*- C++ -*-===//
9 #include "clang/Tooling/Refactoring/AtomicChange.h"
14 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::AtomicChange)
17 /// Helper to (de)serialize an AtomicChange since we don't have direct
19 /// Data members of a normalized AtomicChange can be directly mapped from/to
26 // This converts AtomicChange's internal implementation of the replacements
29 const clang::tooling::AtomicChange &E)
36 clang::tooling::AtomicChange denormalize(const llvm::yaml::IO &) {
37 llvm_unreachable("Do not convert YAML to AtomicChange directl
196 AtomicChange::AtomicChange(const SourceManager &SM, function in class:clang::tooling::AtomicChange
207 AtomicChange::AtomicChange(const SourceManager &SM, SourceLocation KeyPosition, function in class:clang::tooling::AtomicChange
213 AtomicChange::AtomicChange(std::string Key, std::string FilePath, function in class:clang::tooling::AtomicChange
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/
H A DUSRLocFinder.h20 #include "clang/Tooling/Refactoring/AtomicChange.h"
37 std::vector<tooling::AtomicChange>
H A DRenamingAction.h18 #include "clang/Tooling/Refactoring/AtomicChange.h"
94 llvm::Expected<std::vector<AtomicChange>>
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
H A DTransformer.h13 #include "clang/Tooling/Refactoring/AtomicChange.h"
26 std::function<void(Expected<clang::tooling::AtomicChange> Change)>;
46 /// Receives each successful rewrites as an \c AtomicChange.
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
H A DTransformer.cpp13 #include "clang/Tooling/Refactoring/AtomicChange.h"
46 std::map<FileID, AtomicChange> ChangesByFileID;
50 .emplace(ID, AtomicChange(*Result.SourceManager,
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp144 Expected<std::vector<AtomicChange>>
147 // FIXME: A true local rename can use just one AtomicChange.
148 std::vector<AtomicChange> Changes;
153 AtomicChange Change(SM, Ranges[0].getBegin());
169 ArrayRef<AtomicChange> AtomicChanges,
171 for (const auto &AtomicChange : AtomicChanges) {
172 for (const auto &Replace : AtomicChange.getReplacements()) {
223 Expected<std::vector<AtomicChange>> Change =
H A DUSRLocFinder.cpp527 std::vector<tooling::AtomicChange>
536 std::vector<tooling::AtomicChange> AtomicChanges;
539 tooling::AtomicChange ReplaceChange = tooling::AtomicChange(SM, Start);
543 llvm::errs() << "Failed to add replacement to AtomicChange: "
/netbsd-current/external/apache2/llvm/lib/libclangToolingRefactoring/
H A DMakefile11 AtomicChange.cpp \
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
H A DExtract.cpp150 AtomicChange Change(SM, ExtractedDeclLocation);
192 // FIXME: Add support for assocciated symbol location to AtomicChange to mark
/netbsd-current/external/apache2/llvm/dist/clang/tools/clang-refactor/
H A DTestSupport.cpp71 OS << const_cast<tooling::AtomicChange &>(Change).toYAMLString() << "\n";

Completed in 289 milliseconds