Home
last modified time | relevance | path

Searched refs:tooling (Results 1 – 25 of 69) sorted by relevance

123

/external/clang/include/clang/Tooling/
DReplacementsYaml.h24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Replacement) in LLVM_YAML_IS_SEQUENCE_VECTOR()
31 template <> struct MappingTraits<clang::tooling::Replacement> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
38 NormalizedReplacement(const IO &, const clang::tooling::Replacement &R) in LLVM_YAML_IS_SEQUENCE_VECTOR()
42 clang::tooling::Replacement denormalize(const IO &) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
43 return clang::tooling::Replacement(FilePath, Offset, Length, in LLVM_YAML_IS_SEQUENCE_VECTOR()
53 static void mapping(IO &Io, clang::tooling::Replacement &R) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
54 MappingNormalization<NormalizedReplacement, clang::tooling::Replacement> in LLVM_YAML_IS_SEQUENCE_VECTOR()
65 template <> struct MappingTraits<clang::tooling::TranslationUnitReplacements> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
67 clang::tooling::TranslationUnitReplacements &Doc) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
DCompilationDatabasePluginRegistry.h17 namespace tooling {
/external/clang/tools/clang-format/
DClangFormat.cpp30 using clang::tooling::Replacements;
131 std::vector<tooling::Range> &Ranges) { in fillRanges()
163 Ranges.push_back(tooling::Range(Offset, Length)); in fillRanges()
196 Ranges.push_back(tooling::Range(Offset, Length)); in fillRanges()
250 std::vector<tooling::Range> Ranges; in format()
261 tooling::applyAllReplacements(Code->getBuffer(), Replaces); in format()
268 Replaces = tooling::mergeReplacements(Replaces, FormatChanges); in format()
275 << tooling::shiftedCodePosition(FormatChanges, CursorPosition) in format()
291 tooling::applyAllReplacements(Replaces, Rewrite); in format()
300 << tooling::shiftedCodePosition(FormatChanges, CursorPosition) in format()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp17 namespace tooling { namespace
28 std::unique_ptr<tooling::FrontendActionFactory> Factory( in expectRewritten()
29 tooling::newFrontendActionFactory(&Finder)); in expectRewritten()
30 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code)) in expectRewritten()
34 EXPECT_TRUE(tooling::applyAllReplacements(Callback.getReplacements(), in expectRewritten()
/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp16 namespace tooling { namespace
19 tooling::Replacements &RefactoringCallback::getReplacements() { in getReplacements()
26 return tooling::Replacement(Sources, CharSourceRange::getTokenRange( in replaceStmtWithText()
43 Replace.insert(tooling::Replacement( in run()
DRefactoring.cpp26 namespace tooling { namespace
57 return tooling::applyAllReplacements(Replace, Rewrite); in applyAllReplacements()
DFileMatchTrie.cpp21 using namespace tooling;
33 namespace tooling { namespace
/external/clang/unittests/Format/
DSortIncludesTest.cpp24 std::vector<tooling::Range> Ranges(1, tooling::Range(0, Code.size())); in sort()
32 std::vector<tooling::Range> Ranges(1, tooling::Range(0, Code.size())); in newCursor()
DFormatTestProto.cpp26 std::vector<tooling::Range> Ranges(1, tooling::Range(Offset, Length)); in format()
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
DFormatTestSelective.cpp26 std::vector<tooling::Range> Ranges(1, tooling::Range(Offset, Length)); in format()
28 tooling::Replacements Replaces = in format()
DFormatTestJava.cpp26 std::vector<tooling::Range> Ranges(1, tooling::Range(Offset, Length)); in format()
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
DFormatTestJS.cpp26 std::vector<tooling::Range> Ranges(1, tooling::Range(Offset, Length)); in format()
28 tooling::Replacements Replaces = in format()
/external/clang/tools/clang-fuzzer/
DClangFuzzer.cpp36 tooling::newInvocation(&Diagnostics, CC1Args)); in LLVMFuzzerTestOneInput()
40 std::unique_ptr<tooling::ToolAction> action( in LLVMFuzzerTestOneInput()
41 tooling::newFrontendActionFactory<clang::SyntaxOnlyAction>()); in LLVMFuzzerTestOneInput()
/external/clang/unittests/AST/
DASTContextParentMapTest.cpp24 using clang::tooling::newFrontendActionFactory;
25 using clang::tooling::runToolOnCodeWithArgs;
26 using clang::tooling::FrontendActionFactory;
DMatchVerifier.h92 std::unique_ptr<tooling::FrontendActionFactory> Factory( in match()
93 tooling::newFrontendActionFactory(&Finder)); in match()
123 if (!tooling::runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName)) in match()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp23 using namespace clang::tooling;
185 ASSERT_TRUE(clang::tooling::runToolOnCodeWithArgs( in TEST()
200 ASSERT_TRUE(clang::tooling::runToolOnCodeWithArgs( in TEST()
220 ASSERT_TRUE(clang::tooling::runToolOnCodeWithArgs( in TEST()
238 ASSERT_TRUE(clang::tooling::runToolOnCodeWithArgs( in TEST()
257 ASSERT_FALSE(clang::tooling::runToolOnCodeWithArgs( in TEST()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h21 using clang::tooling::buildASTFromCodeWithArgs;
22 using clang::tooling::newFrontendActionFactory;
23 using clang::tooling::runToolOnCodeWithArgs;
24 using clang::tooling::FrontendActionFactory;
25 using clang::tooling::FileContentMappings;
/external/clang/include/clang/Format/
DFormat.h720 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code,
721 ArrayRef<tooling::Range> Ranges,
737 tooling::Replacements reformat(const FormatStyle &Style,
745 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code,
746 ArrayRef<tooling::Range> Ranges,
/external/clang/lib/Tooling/Core/
DLookup.cpp17 using namespace clang::tooling;
85 std::string tooling::replaceNestedName(const NestedNameSpecifier *Use, in replaceNestedName()
/external/clang/lib/Format/
DWhitespaceManager.h82 const tooling::Replacements &generateReplacements();
202 tooling::Replacements Replaces;
DFormat.cpp1433 tooling::Replacements format(bool *IncompleteFormat) { in format()
1434 tooling::Replacements Result; in format()
1448 tooling::Replacements RunResult = in format()
1452 for (tooling::Replacements::iterator I = RunResult.begin(), in format()
1467 tooling::Replacements format(SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in format()
1725 static bool affectsRange(ArrayRef<tooling::Range> Ranges, unsigned Start, in affectsRange()
1740 ArrayRef<tooling::Range> Ranges, StringRef FileName, in sortIncludes()
1741 tooling::Replacements &Replaces, unsigned *Cursor) { in sortIncludes()
1788 Replaces.insert(tooling::Replacement(FileName, Includes.front().Offset, in sortIncludes()
1792 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code, in sortIncludes()
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/polymer/
DREADME.md15 …or building minified files, consult the [tooling information](https://www.polymer-project.org/reso…
/external/chromium-trace/catapult/tracing/third_party/components/polymer/
DREADME.md15 …or building minified files, consult the [tooling information](https://www.polymer-project.org/reso…
/external/clang/include/clang/Tooling/Core/
DLookup.h26 namespace tooling {
/external/clang/tools/clang-format/fuzzer/
DClangFormatFuzzer.cpp24 Style, s, {clang::tooling::Range(0, s.size())})); in LLVMFuzzerTestOneInput()

123