/external/llvm-project/clang/lib/Tooling/ |
D | StandaloneExecution.cpp | 45 : OptionsParser(std::move(Options)), in StandaloneToolExecutor() 46 Tool(OptionsParser->getCompilations(), OptionsParser->getSourcePathList(), in StandaloneToolExecutor() 75 create(CommonOptionsParser &OptionsParser) override { in create() argument 76 if (OptionsParser.getSourcePathList().empty()) in create() 79 return std::make_unique<StandaloneToolExecutor>(std::move(OptionsParser)); in create()
|
D | Execution.cpp | 61 auto OptionsParser = in createExecutorFromCommandLineArgsImpl() local 64 if (!OptionsParser) in createExecutorFromCommandLineArgsImpl() 65 return OptionsParser.takeError(); in createExecutorFromCommandLineArgsImpl() 72 Plugin->create(*OptionsParser); in createExecutorFromCommandLineArgsImpl()
|
D | AllTUsExecution.cpp | 73 : OptionsParser(std::move(Options)), in AllTUsToolExecutor() 74 Compilations(OptionsParser->getCompilations()), in AllTUsToolExecutor() 161 create(CommonOptionsParser &OptionsParser) override { in create() argument 162 if (OptionsParser.getSourcePathList().empty()) in create() 166 return std::make_unique<AllTUsToolExecutor>(std::move(OptionsParser), in create()
|
/external/desugar/java/com/google/devtools/common/options/ |
D | Options.java | 17 import com.google.devtools.common.options.OptionsParser.ConstructionException; 53 OptionsParser parser = OptionsParser.newOptionsParser(optionsClass); in parse() 66 OptionsParser parser = null; in parseAndExitUponError() 68 parser = OptionsParser.newOptionsParser(optionsClass); in parseAndExitUponError()
|
D | InvocationPolicyEnforcer.java | 30 import com.google.devtools.common.options.OptionsParser.OptionDescription; 103 public void enforce(OptionsParser parser) throws OptionsParsingException { in enforce() 116 public void enforce(OptionsParser parser, @Nullable String command) in enforce() 217 InvocationPolicy invocationPolicy, OptionsParser parser, String command, Level loglevel) in getEffectiveInvocationPolicy() 235 InvocationPolicy invocationPolicy, OptionsParser parser, String command, Level loglevel) in getEffectivePolicies() 318 FlagPolicyWithContext originalPolicy, OptionsParser parser, Level loglevel) in expandPolicy() 544 OptionsParser parser, in applySetValueOperation() 615 OptionsParser parser, String policyType, OptionDefinition option, Level loglevel) in applyUseDefaultOperation() 682 OptionsParser parser, in apply() 754 OptionsParser parser, in checkDefaultValue() [all …]
|
D | OptionsUsage.java | 44 OptionsData data = OptionsParser.getOptionsDataInternal(optionsClass); in getUsage() 49 getUsage(optionDefinition, usage, OptionsParser.HelpVerbosity.LONG, data, false); in getUsage() 110 OptionsParser.HelpVerbosity helpVerbosity, in getUsage() 116 if (helpVerbosity == OptionsParser.HelpVerbosity.SHORT) { in getUsage() 141 if (helpVerbosity == OptionsParser.HelpVerbosity.MEDIUM) { in getUsage()
|
D | OptionsParser.java | 69 public class OptionsParser implements OptionsProvider { class 149 public static OptionsParser newOptionsParser(Class<? extends OptionsBase> class1) in newOptionsParser() 155 public static OptionsParser newOptionsParser( in newOptionsParser() 162 public static OptionsParser newOptionsParser( in newOptionsParser() 172 public static OptionsParser newOptionsParser(OpaqueOptionsData optionsData) { in newOptionsParser() 173 return new OptionsParser((OptionsData) optionsData); in newOptionsParser() 180 OptionsParser(OptionsData optionsData) { in OptionsParser() method in OptionsParser 731 OptionsData data = OptionsParser.getOptionsDataInternal(optionsClass); in getUsesOnlyCoreTypes()
|
D | OptionsBase.java | 76 for (Map.Entry<Field, Object> entry : OptionsParser.toMap(castClass, castThis).entrySet()) { in asMap()
|
D | Converters.java | 507 public static class HelpVerbosityConverter extends EnumConverter<OptionsParser.HelpVerbosity> { 509 super(OptionsParser.HelpVerbosity.class, "--help_verbosity setting"); in HelpVerbosityConverter()
|
/external/llvm-project/clang-tools-extra/pp-trace/ |
D | PPTrace.cpp | 131 auto OptionsParser = clang::tooling::CommonOptionsParser::create( in main() local 133 if (!OptionsParser) in main() 134 error(toString(OptionsParser.takeError())); in main() 151 clang::tooling::ClangTool Tool(OptionsParser->getCompilations(), in main() 152 OptionsParser->getSourcePathList()); in main()
|
/external/llvm-project/clang-tools-extra/clang-query/tool/ |
D | ClangQuery.cpp | 90 llvm::Expected<CommonOptionsParser> OptionsParser = in main() local 94 if (!OptionsParser) { in main() 95 llvm::WithColor::error() << llvm::toString(OptionsParser.takeError()); in main() 110 ClangTool Tool(OptionsParser->getCompilations(), in main() 111 OptionsParser->getSourcePathList()); in main()
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/ |
D | FindAllSymbolsMain.cpp | 131 CommonOptionsParser OptionsParser(argc, argv, FindAllSymbolsCategory); in main() local 132 ClangTool Tool(OptionsParser.getCompilations(), in main() 133 OptionsParser.getSourcePathList()); in main() 135 std::vector<std::string> sources = OptionsParser.getSourcePathList(); in main()
|
/external/llvm-project/clang/tools/clang-extdef-mapping/ |
D | ClangExtDefMapGen.cpp | 122 CommonOptionsParser OptionsParser(argc, argv, ClangExtDefMapGenCategory, in main() local 125 ClangTool Tool(OptionsParser.getCompilations(), in main() 126 OptionsParser.getSourcePathList()); in main()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | ExecutionTest.cpp | 96 : OptionsParser(std::move(Options)) {} in TestToolExecutor() 111 return OptionsParser.getSourcePathList(); in getSourcePaths() 119 CommonOptionsParser OptionsParser; member in clang::tooling::TestToolExecutor 129 create(CommonOptionsParser &OptionsParser) override { in create() argument 130 return std::make_unique<TestToolExecutor>(std::move(OptionsParser)); in create()
|
/external/llvm-project/clang/tools/clang-check/ |
D | ClangCheck.cpp | 163 CommonOptionsParser OptionsParser(argc, argv, ClangCheckCategory); in main() local 164 ClangTool Tool(OptionsParser.getCompilations(), in main() 165 OptionsParser.getSourcePathList()); in main()
|
/external/clang/tools/clang-check/ |
D | ClangCheck.cpp | 161 CommonOptionsParser OptionsParser(argc, argv, ClangCheckCategory); in main() local 162 ClangTool Tool(OptionsParser.getCompilations(), in main() 163 OptionsParser.getSourcePathList()); in main()
|
/external/llvm-project/clang-tools-extra/clang-change-namespace/tool/ |
D | ClangChangeNamespace.cpp | 102 tooling::CommonOptionsParser OptionsParser(argc, argv, in main() local 104 const auto &Files = OptionsParser.getSourcePathList(); in main() 105 tooling::RefactoringTool Tool(OptionsParser.getCompilations(), Files); in main()
|
/external/clang/docs/ |
D | LibTooling.rst | 74 CommonOptionsParser OptionsParser(argc, argv, MyToolCategory); 76 // Use OptionsParser.getCompilations() and OptionsParser.getSourcePathList() 96 ClangTool Tool(OptionsParser.getCompilations(), Sources); 136 CommonOptionsParser OptionsParser(argc, argv, MyToolCategory); 137 ClangTool Tool(OptionsParser.getCompilations(), 138 OptionsParser.getSourcePathList());
|
/external/llvm-project/clang/docs/ |
D | LibTooling.rst | 74 CommonOptionsParser OptionsParser(argc, argv, MyToolCategory); 76 // Use OptionsParser.getCompilations() and OptionsParser.getSourcePathList() 96 ClangTool Tool(OptionsParser.getCompilations(), Sources); 136 CommonOptionsParser OptionsParser(argc, argv, MyToolCategory); 137 ClangTool Tool(OptionsParser.getCompilations(), 138 OptionsParser.getSourcePathList());
|
/external/llvm-project/clang-tools-extra/clang-move/tool/ |
D | ClangMove.cpp | 98 tooling::CommonOptionsParser OptionsParser(argc, argv, ClangMoveCategory); in main() local 107 tooling::RefactoringTool Tool(OptionsParser.getCompilations(), in main() 108 OptionsParser.getSourcePathList()); in main()
|
/external/llvm-project/clang-tools-extra/clang-tidy/tool/ |
D | ClangTidyMain.cpp | 378 llvm::Expected<CommonOptionsParser> OptionsParser = in clangTidyMain() local 381 if (!OptionsParser) { in clangTidyMain() 382 llvm::WithColor::error() << llvm::toString(OptionsParser.takeError()); in clangTidyMain() 416 auto PathList = OptionsParser->getSourcePathList(); in clangTidyMain() 483 runClangTidy(Context, OptionsParser->getCompilations(), PathList, BaseFS, in clangTidyMain()
|
/external/desugar/java/com/google/devtools/build/android/desugar/scan/ |
D | KeepScanner.java | 37 import com.google.devtools.common.options.OptionsParser; 116 OptionsParser parser = OptionsParser.newOptionsParser(KeepScannerOptions.class); in main()
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | AllTUsExecution.h | 64 llvm::Optional<CommonOptionsParser> OptionsParser;
|
D | StandaloneExecution.h | 86 llvm::Optional<CommonOptionsParser> OptionsParser;
|
D | Execution.h | 159 create(CommonOptionsParser &OptionsParser) = 0;
|