Searched refs:tooling (Results 1 - 25 of 49) sorted by relevance

12

/external/clang/include/clang/Tooling/
H A DCompilationDatabasePluginRegistry.h17 namespace tooling { namespace in namespace:clang
24 } // end namespace tooling
H A DReplacementsYaml.h24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Replacement)
31 template <> struct MappingTraits<clang::tooling::Replacement> {
38 NormalizedReplacement(const IO &, const clang::tooling::Replacement &R)
42 clang::tooling::Replacement denormalize(const IO &) {
43 return clang::tooling::Replacement(FilePath, Offset, Length,
53 static void mapping(IO &Io, clang::tooling::Replacement &R) {
54 MappingNormalization<NormalizedReplacement, clang::tooling::Replacement>
65 template <> struct MappingTraits<clang::tooling::TranslationUnitReplacements> {
67 clang::tooling::TranslationUnitReplacements &Doc) {
H A DRefactoring.h30 namespace tooling { namespace in namespace:clang
69 } // end namespace tooling
H A DArgumentsAdjusters.h25 namespace tooling { namespace in namespace:clang
63 } // namespace tooling
H A DCommonOptionsParser.h34 namespace tooling { namespace in namespace:clang
47 /// using namespace clang::tooling;
96 } // namespace tooling
H A DFileMatchTrie.h25 namespace tooling { namespace in namespace:clang
86 } // end namespace tooling
H A DJSONCompilationDatabase.h31 namespace tooling { namespace in namespace:clang
113 } // end namespace tooling
H A DRefactoringCallbacks.h36 namespace tooling { namespace in namespace:clang
40 /// Collects \c tooling::Replacements while running.
87 } // end namespace tooling
/external/clang/tools/clang-fuzzer/
H A DClangFuzzer.cpp36 tooling::newInvocation(&Diagnostics, CC1Args));
40 std::unique_ptr<tooling::ToolAction> action(
41 tooling::newFrontendActionFactory<clang::SyntaxOnlyAction>());
/external/clang/tools/clang-format/fuzzer/
H A DClangFormatFuzzer.cpp24 Style, s, {clang::tooling::Range(0, s.size())}));
/external/clang/unittests/AST/
H A DDeclTest.cpp19 using namespace clang::tooling;
H A DASTContextParentMapTest.cpp24 using clang::tooling::newFrontendActionFactory;
25 using clang::tooling::runToolOnCodeWithArgs;
26 using clang::tooling::FrontendActionFactory;
H A DEvaluateAsRValueTest.cpp24 using namespace clang::tooling;
/external/clang/lib/Tooling/
H A DRefactoring.cpp26 namespace tooling { namespace in namespace:clang
56 return tooling::applyAllReplacements(Replace, Rewrite);
63 } // end namespace tooling
H A DRefactoringCallbacks.cpp16 namespace tooling { namespace in namespace:clang
19 tooling::Replacements &RefactoringCallback::getReplacements() {
26 return tooling::Replacement(Sources, CharSourceRange::getTokenRange(
43 Replace.insert(tooling::Replacement(
80 } // end namespace tooling
H A DArgumentsAdjusters.cpp20 namespace tooling { namespace in namespace:clang
86 } // end namespace tooling
H A DFileMatchTrie.cpp21 using namespace tooling;
33 namespace tooling { namespace in namespace:clang
161 } // end namespace tooling
/external/clang/unittests/Format/
H A DFormatTestProto.cpp26 std::vector<tooling::Range> Ranges(1, tooling::Range(Offset, Length));
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
147 } // end namespace tooling
H A DFormatTestJava.cpp26 std::vector<tooling::Range> Ranges(1, tooling::Range(Offset, Length));
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
504 } // end namespace tooling
/external/clang/unittests/Tooling/
H A DRefactoringCallbacksTest.cpp17 namespace tooling { namespace in namespace:clang
28 std::unique_ptr<tooling::FrontendActionFactory> Factory(
29 tooling::newFrontendActionFactory(&Finder));
30 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code))
34 EXPECT_TRUE(tooling::applyAllReplacements(Callback.getReplacements(),
/external/clang/lib/Format/
H A DWhitespaceManager.h82 const tooling::Replacements &generateReplacements();
195 tooling::Replacements Replaces;
/external/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp23 using namespace clang::tooling;
185 ASSERT_TRUE(clang::tooling::runToolOnCodeWithArgs(
200 ASSERT_TRUE(clang::tooling::runToolOnCodeWithArgs(
220 ASSERT_TRUE(clang::tooling::runToolOnCodeWithArgs(
238 ASSERT_TRUE(clang::tooling::runToolOnCodeWithArgs(
257 ASSERT_FALSE(clang::tooling::runToolOnCodeWithArgs(
/external/clang/unittests/ASTMatchers/
H A 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/
H A DFormat.h534 tooling::Replacements reformat(const FormatStyle &Style, Lexer &Lex,
546 tooling::Replacements reformat(const FormatStyle &Style,
553 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code,
554 ArrayRef<tooling::Range> Ranges,
/external/clang/tools/clang-format/
H A DClangFormat.cpp228 tooling::Replacements Replaces = reformat(FormatStyle, Sources, ID, Ranges);
234 << tooling::shiftedCodePosition(Replaces, Cursor)
236 for (tooling::Replacements::const_iterator I = Replaces.begin(),
248 tooling::applyAllReplacements(Replaces, Rewrite);
255 << tooling::shiftedCodePosition(Replaces, Cursor) << " }\n";

Completed in 280 milliseconds

12