32 "--show-symbol-table",
33 "--show-function-table",
45 "--string-abstraction",
54 "--compile_all_input",
55 "--no_compile_all_input",
66 "--reinitialize_workdir",
82 "--no_export_all_vtbl",
83 "--force_new_nothrow",
84 "--no_force_new_nothrow",
86 "--no_friend_injection",
90 "--no_implicit_include",
91 "--implicit_include_searches",
92 "--no_implicit_include_searches",
93 "--implicit_typename",
94 "--no_implicit_typename",
95 "--nonstd_qualifier_deduction",
96 "--no_nonstd_qualifier_deduction",
97 "--old_specializations",
98 "--no_old_specializations",
100 "--no_parse_templates",
109 "--depend_system_headers",
110 "--no_depend_system_headers",
125 "--remove_unneeded_entities",
126 "--no_remove_unneeded_entities",
127 "--alternative_tokens",
128 "--no_alternative_tokens",
137 "--exceptions_unwind",
138 "--no_exceptions_unwind",
140 "--no_export_all_vtbl",
141 "--export_defs_implicitly",
142 "--no_export_defs_implicitly",
143 "--extend_initializers",
144 "--no_extend_initializers",
148 "--loose_implicit_cast",
150 "--no_multibyte_chars",
151 "--narrow_volatile_bitfields",
154 "--signed_bitfields",
155 "--unsigned_bitfields",
159 "--unaligned_access",
160 "--no_unaligned_access",
187 "--brief_diagnostics",
188 "--no_brief_diagnostics",
190 "--wrap_diagnostics",
191 "--no_wrap_diagnostics",
193 "--arm_linux_configure",
211 "--pending_instantiations=",
213 "--default_extension=",
228 "--min_array_alignment=",
229 "--pointer_alignment=",
231 "--library_interface=",
244 "--arm_linux_config_file=",
247 "--configure_sysroot=",
248 "--configure_cpp_headers=",
249 "--configure_extra_includes=",
250 "--configure_extra_libraries="
277 std::find_if(list.cbegin(), list.cend(), [&](
const std::string &argument) {
278 return has_prefix(argument, option);
280 if(found == list.cend())
287 for(
int i=1; i<argc; i++)
289 if(strcmp(argv[i],
"-")==0 ||
292 args.push_back(argv[i]);
307 if(strlen(argv[i]) > prefix->size())
308 set(*prefix, std::string(argv[i], prefix->size(), std::string::npos));
314 set(*prefix, argv[i + 1]);
324 set(*prefix, std::string(argv[i], prefix->size(), std::string::npos));
328 std::cout <<
"Warning: uninterpreted armcc option '"