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

123

/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 DArgumentsAdjusters.h27 namespace tooling { namespace in namespace:clang
65 } // namespace tooling
H A DFileMatchTrie.h25 namespace tooling { namespace in namespace:clang
86 } // end namespace tooling
H A DRefactoring.h30 namespace tooling { namespace in namespace:clang
71 } // end namespace tooling
H A DCommonOptionsParser.h34 namespace tooling { namespace in namespace:clang
48 /// using namespace clang::tooling;
114 } // namespace tooling
H A DJSONCompilationDatabase.h31 namespace tooling { namespace in namespace:clang
130 } // 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/include/clang/Tooling/Core/
H A DLookup.h26 namespace tooling { namespace in namespace:clang
45 } // end namespace tooling
/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;
/external/clang/lib/Tooling/
H A DRefactoring.cpp26 namespace tooling { namespace in namespace:clang
57 return tooling::applyAllReplacements(Replace, Rewrite);
64 } // 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
/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/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(),
H A DRewriterTest.cpp15 namespace tooling { namespace in namespace:clang
49 } // 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);
170 } // end namespace tooling
H A DSortIncludesTest.cpp24 std::vector<tooling::Range> Ranges(1, tooling::Range(0, Code.size()));
32 std::vector<tooling::Range> Ranges(1, tooling::Range(0, Code.size()));
H A DFormatTestSelective.cpp26 std::vector<tooling::Range> Ranges(1, tooling::Range(Offset, Length));
28 tooling::Replacements Replaces =
/external/clang/tools/clang-format/
H A DClangFormat.cpp30 using clang::tooling::Replacements;
131 std::vector<tooling::Range> &Ranges) {
163 Ranges.push_back(tooling::Range(Offset, Length));
196 Ranges.push_back(tooling::Range(Offset, Length));
250 std::vector<tooling::Range> Ranges;
261 tooling::applyAllReplacements(Code->getBuffer(), Replaces);
268 Replaces = tooling::mergeReplacements(Replaces, FormatChanges);
275 << tooling::shiftedCodePosition(FormatChanges, CursorPosition)
291 tooling::applyAllReplacements(Replaces, Rewrite);
300 << tooling
[all...]
/external/clang/lib/Format/
H A DWhitespaceManager.h82 const tooling::Replacements &generateReplacements();
202 tooling::Replacements Replaces;
/external/clang/lib/Tooling/Core/
H A DLookup.cpp17 using namespace clang::tooling;
85 std::string tooling::replaceNestedName(const NestedNameSpecifier *Use,
/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;

Completed in 476 milliseconds

123