Lines Matching refs:cl
50 static llvm::cl::OptionCategory header_checker_category(
53 static llvm::cl::opt<std::string> header_file(
54 llvm::cl::Positional, llvm::cl::desc("<source.cpp>"), llvm::cl::Optional,
55 llvm::cl::cat(header_checker_category));
57 static llvm::cl::opt<std::string> out_dump(
58 "o", llvm::cl::value_desc("out_dump"), llvm::cl::Optional,
59 llvm::cl::desc("Specify the reference dump file name"),
60 llvm::cl::cat(header_checker_category));
62 static llvm::cl::list<std::string> exported_header_dirs(
63 "I", llvm::cl::desc("<export_include_dirs>"), llvm::cl::Prefix,
64 llvm::cl::ZeroOrMore, llvm::cl::cat(header_checker_category));
66 static llvm::cl::opt<std::string> root_dir(
68 llvm::cl::desc("Specify the directory that the paths in the dump file are "
70 llvm::cl::Optional, llvm::cl::cat(header_checker_category));
72 static llvm::cl::opt<bool> no_filter(
73 "no-filter", llvm::cl::desc("Do not filter any abi"), llvm::cl::Optional,
74 llvm::cl::cat(header_checker_category));
76 static llvm::cl::opt<bool> suppress_errors(
78 llvm::cl::desc("Suppress preprocess and semantic errors"),
79 llvm::cl::Optional, llvm::cl::cat(header_checker_category));
81 static llvm::cl::opt<bool> dump_function_declarations(
83 llvm::cl::desc("Output the functions declared but not defined in the input "
85 llvm::cl::Optional, llvm::cl::cat(header_checker_category));
87 static llvm::cl::opt<TextFormatIR> output_format(
88 "output-format", llvm::cl::desc("Specify format of output dump file"),
89 llvm::cl::values(clEnumValN(TextFormatIR::ProtobufTextFormat,
92 llvm::cl::init(TextFormatIR::Json),
93 llvm::cl::cat(header_checker_category));
95 static llvm::cl::opt<bool> print_resource_dir(
97 llvm::cl::desc("Print real path to default resource directory"),
98 llvm::cl::Optional, llvm::cl::cat(header_checker_category));
134 bool is_command_valid = llvm::cl::ParseCommandLineOptions( in main()