Home
last modified time | relevance | path

Searched refs:OptionsParser (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm-project/clang/lib/Tooling/
DStandaloneExecution.cpp45 : 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()
DExecution.cpp61 auto OptionsParser = in createExecutorFromCommandLineArgsImpl() local
64 if (!OptionsParser) in createExecutorFromCommandLineArgsImpl()
65 return OptionsParser.takeError(); in createExecutorFromCommandLineArgsImpl()
72 Plugin->create(*OptionsParser); in createExecutorFromCommandLineArgsImpl()
DAllTUsExecution.cpp73 : 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/
DOptions.java17 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()
DInvocationPolicyEnforcer.java30 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 …]
DOptionsUsage.java44 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()
DOptionsParser.java69 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()
DOptionsBase.java76 for (Map.Entry<Field, Object> entry : OptionsParser.toMap(castClass, castThis).entrySet()) { in asMap()
DConverters.java507 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/
DPPTrace.cpp131 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/
DClangQuery.cpp90 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/
DFindAllSymbolsMain.cpp131 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/
DClangExtDefMapGen.cpp122 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/
DExecutionTest.cpp96 : 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/
DClangCheck.cpp163 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/
DClangCheck.cpp161 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/
DClangChangeNamespace.cpp102 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/
DLibTooling.rst74 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/
DLibTooling.rst74 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/
DClangMove.cpp98 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/
DClangTidyMain.cpp378 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/
DKeepScanner.java37 import com.google.devtools.common.options.OptionsParser;
116 OptionsParser parser = OptionsParser.newOptionsParser(KeepScannerOptions.class); in main()
/external/llvm-project/clang/include/clang/Tooling/
DAllTUsExecution.h64 llvm::Optional<CommonOptionsParser> OptionsParser;
DStandaloneExecution.h86 llvm::Optional<CommonOptionsParser> OptionsParser;
DExecution.h159 create(CommonOptionsParser &OptionsParser) = 0;

12