HomeSort by relevance Sort by last modified time
    Searched defs:Replaces (Results 1 - 25 of 48) sorted by null

1 2

  /external/clang/unittests/Format/
FormatTestJava.cpp 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
28 auto Result = applyAllReplacements(Code, Replaces);
FormatTestProto.cpp 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
28 auto Result = applyAllReplacements(Code, Replaces);
FormatTestSelective.cpp 28 tooling::Replacements Replaces =
31 auto Result = applyAllReplacements(Code, Replaces);
FormatTestJS.cpp 28 tooling::Replacements Replaces =
31 auto Result = applyAllReplacements(Code, Replaces);
    [all...]
CleanupTest.cpp 26 tooling::Replacements Replaces = format::cleanup(Style, Code, Ranges);
28 auto Result = applyAllReplacements(Code, Replaces);
256 const tooling::Replacements Replaces) {
257 auto CleanReplaces = cleanupAroundReplacements(Code, Replaces, Style);
266 const tooling::Replacements Replaces) {
268 auto CleanReplaces = cleanupAroundReplacements(Code, Replaces, Style);
307 tooling::Replacements Replaces = {
311 EXPECT_EQ(Expected, formatAndApply(Code, Replaces));
318 tooling::Replacements Replaces = {createInsertion("#include \"a.h\"")};
319 EXPECT_EQ(Expected, apply(Code, Replaces));
    [all...]
  /external/clang/unittests/Tooling/
RewriterTest.cpp 41 Replacements Replaces;
42 Replaces.insert(Replacement("<file>", 6, 6, ""));
43 Replaces.insert(Replacement("<file>", 6, 0, "replaced\n"));
44 auto Rewritten = applyAllReplacements("line1\nline2\nline3\nline4", Replaces);
RefactoringTest.cpp 115 Replacements Replaces;
116 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 2, 1),
118 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 3, 1),
120 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite));
130 std::vector<Replacement> Replaces;
131 Replaces.push_back(Replacement(Context.Sources, Context.getLocation(ID, 2, 1),
133 Replaces.push_back(
135 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite));
142 Replacements Replaces;
143 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 2, 1)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Tooling/Refactoring/
AtomicChange.h 73 /// \brief Adds a replacement that replaces the given Range with
79 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
105 const Replacements &getReplacements() const { return Replaces; }
121 clang::tooling::Replacements Replaces);
129 tooling::Replacements Replaces;
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/Tooling/Refactoring/
AtomicChange.h 73 /// \brief Adds a replacement that replaces the given Range with
79 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
105 const Replacements &getReplacements() const { return Replaces; }
121 clang::tooling::Replacements Replaces);
129 tooling::Replacements Replaces;
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/Tooling/Refactoring/
AtomicChange.h 73 /// \brief Adds a replacement that replaces the given Range with
79 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
105 const Replacements &getReplacements() const { return Replaces; }
121 clang::tooling::Replacements Replaces);
129 tooling::Replacements Replaces;
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Tooling/Refactoring/
AtomicChange.h 73 /// \brief Adds a replacement that replaces the given Range with
79 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
105 const Replacements &getReplacements() const { return Replaces; }
121 clang::tooling::Replacements Replaces);
129 tooling::Replacements Replaces;
  /prebuilts/clang/host/linux-x86/clang-4393122/include/clang/Tooling/Refactoring/
AtomicChange.h 73 /// \brief Adds a replacement that replaces the given Range with
79 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
105 const Replacements &getReplacements() const { return Replaces; }
121 clang::tooling::Replacements Replaces);
129 tooling::Replacements Replaces;
  /prebuilts/clang/host/linux-x86/clang-4479392/include/clang/Tooling/Refactoring/
AtomicChange.h 73 /// \brief Adds a replacement that replaces the given Range with
79 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
105 const Replacements &getReplacements() const { return Replaces; }
121 clang::tooling::Replacements Replaces);
129 tooling::Replacements Replaces;
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Tooling/Refactoring/
AtomicChange.h 82 /// \brief Adds a replacement that replaces the given Range with
88 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
114 const Replacements &getReplacements() const { return Replaces; }
130 clang::tooling::Replacements Replaces);
138 tooling::Replacements Replaces;
163 /// This completely ignores the file path in each change and replaces them with
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Tooling/Refactoring/
AtomicChange.h 82 /// \brief Adds a replacement that replaces the given Range with
88 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
114 const Replacements &getReplacements() const { return Replaces; }
130 clang::tooling::Replacements Replaces);
138 tooling::Replacements Replaces;
163 /// This completely ignores the file path in each change and replaces them with
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Tooling/Refactoring/
AtomicChange.h 82 /// \brief Adds a replacement that replaces the given Range with
88 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
114 const Replacements &getReplacements() const { return Replaces; }
130 clang::tooling::Replacements Replaces);
138 tooling::Replacements Replaces;
163 /// This completely ignores the file path in each change and replaces them with
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/Tooling/Refactoring/
AtomicChange.h 82 /// \brief Adds a replacement that replaces the given Range with
88 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
114 const Replacements &getReplacements() const { return Replaces; }
130 clang::tooling::Replacements Replaces);
138 tooling::Replacements Replaces;
163 /// This completely ignores the file path in each change and replaces them with
  /prebuilts/clang/host/linux-x86/clang-4579689/include/clang/Tooling/Refactoring/
AtomicChange.h 82 /// \brief Adds a replacement that replaces the given Range with
88 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
114 const Replacements &getReplacements() const { return Replaces; }
130 clang::tooling::Replacements Replaces);
138 tooling::Replacements Replaces;
163 /// This completely ignores the file path in each change and replaces them with
  /prebuilts/clang/host/linux-x86/clang-4630689/include/clang/Tooling/Refactoring/
AtomicChange.h 82 /// \brief Adds a replacement that replaces the given Range with
88 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
114 const Replacements &getReplacements() const { return Replaces; }
130 clang::tooling::Replacements Replaces);
138 tooling::Replacements Replaces;
163 /// This completely ignores the file path in each change and replaces them with
  /prebuilts/clang/host/linux-x86/clang-4639204/include/clang/Tooling/Refactoring/
AtomicChange.h 82 /// \brief Adds a replacement that replaces the given Range with
88 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
114 const Replacements &getReplacements() const { return Replaces; }
130 clang::tooling::Replacements Replaces);
138 tooling::Replacements Replaces;
163 /// This completely ignores the file path in each change and replaces them with
  /prebuilts/clang/host/linux-x86/clang-4691093/include/clang/Tooling/Refactoring/
AtomicChange.h 82 /// \brief Adds a replacement that replaces the given Range with
88 /// \brief Adds a replacement that replaces range [Loc, Loc+Length) with
114 const Replacements &getReplacements() const { return Replaces; }
130 clang::tooling::Replacements Replaces);
138 tooling::Replacements Replaces;
163 /// This completely ignores the file path in each change and replaces them with
  /external/clang/lib/Format/
WhitespaceManager.h 47 /// \brief Replaces the whitespace in front of \p Tok. Only call once for
60 /// \brief Inserts or replaces whitespace in the middle of a token.
123 // The kind of the token whose whitespace this change replaces, or in which
193 /// \brief Fill \c Replaces with the replacements for all effective changes.
207 tooling::Replacements Replaces;
  /external/clang/tools/clang-format/
ClangFormat.cpp 229 static void outputReplacementsXML(const Replacements &Replaces) {
230 for (const auto &R : Replaces) {
258 Replacements Replaces = sortIncludes(FormatStyle, Code->getBuffer(), Ranges,
260 auto ChangedCode = tooling::applyAllReplacements(Code->getBuffer(), Replaces);
265 for (const auto &R : Replaces)
271 Replaces = tooling::mergeReplacements(Replaces, FormatChanges);
281 outputReplacementsXML(Replaces);
294 tooling::applyAllReplacements(Replaces, Rewrite);
  /external/nist-sip/java/gov/nist/javax/sip/header/extensions/
Replaces.java 14 * Replaces SIPHeader.
24 public class Replaces
31 public static final String NAME = "Replaces";
42 public Replaces() {
50 public Replaces(String callId) throws IllegalArgumentException {
188 * $Log: Replaces.java,v $
223 * Add Session Timer and Replaces headers
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Tooling/Core/
Replacement.h 215 explicit Replacements(const Replacement &R) { Replaces.insert(R); }
256 /// \brief Merges \p Replaces into the current replacements. \p Replaces
258 Replacements merge(const Replacements &Replaces) const;
268 unsigned size() const { return Replaces.size(); }
270 void clear() { Replaces.clear(); }
272 bool empty() const { return Replaces.empty(); }
274 const_iterator begin() const { return Replaces.begin(); }
276 const_iterator end() const { return Replaces.end(); }
278 const_reverse_iterator rbegin() const { return Replaces.rbegin();
    [all...]

Completed in 1064 milliseconds

1 2