• Home
  • Raw
  • Download

Lines Matching refs:Case

1057       .Case("address_sanitizer",  in HasFeature()
1060 .Case("assume_nonnull", true) in HasFeature()
1061 .Case("attribute_analyzer_noreturn", true) in HasFeature()
1062 .Case("attribute_availability", true) in HasFeature()
1063 .Case("attribute_availability_with_message", true) in HasFeature()
1064 .Case("attribute_availability_app_extension", true) in HasFeature()
1065 .Case("attribute_availability_with_version_underscores", true) in HasFeature()
1066 .Case("attribute_availability_tvos", true) in HasFeature()
1067 .Case("attribute_availability_watchos", true) in HasFeature()
1068 .Case("attribute_availability_with_strict", true) in HasFeature()
1069 .Case("attribute_availability_with_replacement", true) in HasFeature()
1070 .Case("attribute_availability_in_templates", true) in HasFeature()
1071 .Case("attribute_cf_returns_not_retained", true) in HasFeature()
1072 .Case("attribute_cf_returns_retained", true) in HasFeature()
1073 .Case("attribute_cf_returns_on_parameters", true) in HasFeature()
1074 .Case("attribute_deprecated_with_message", true) in HasFeature()
1075 .Case("attribute_deprecated_with_replacement", true) in HasFeature()
1076 .Case("attribute_ext_vector_type", true) in HasFeature()
1077 .Case("attribute_ns_returns_not_retained", true) in HasFeature()
1078 .Case("attribute_ns_returns_retained", true) in HasFeature()
1079 .Case("attribute_ns_consumes_self", true) in HasFeature()
1080 .Case("attribute_ns_consumed", true) in HasFeature()
1081 .Case("attribute_cf_consumed", true) in HasFeature()
1082 .Case("attribute_objc_ivar_unused", true) in HasFeature()
1083 .Case("attribute_objc_method_family", true) in HasFeature()
1084 .Case("attribute_overloadable", true) in HasFeature()
1085 .Case("attribute_unavailable_with_message", true) in HasFeature()
1086 .Case("attribute_unused_on_fields", true) in HasFeature()
1087 .Case("blocks", LangOpts.Blocks) in HasFeature()
1088 .Case("c_thread_safety_attributes", true) in HasFeature()
1089 .Case("cxx_exceptions", LangOpts.CXXExceptions) in HasFeature()
1090 .Case("cxx_rtti", LangOpts.RTTI && LangOpts.RTTIData) in HasFeature()
1091 .Case("enumerator_attributes", true) in HasFeature()
1092 .Case("nullability", true) in HasFeature()
1093 .Case("memory_sanitizer", LangOpts.Sanitize.has(SanitizerKind::Memory)) in HasFeature()
1094 .Case("thread_sanitizer", LangOpts.Sanitize.has(SanitizerKind::Thread)) in HasFeature()
1095 .Case("dataflow_sanitizer", LangOpts.Sanitize.has(SanitizerKind::DataFlow)) in HasFeature()
1096 .Case("efficiency_sanitizer", in HasFeature()
1099 .Case("objc_arr", LangOpts.ObjCAutoRefCount) // FIXME: REMOVE? in HasFeature()
1100 .Case("objc_arc", LangOpts.ObjCAutoRefCount) in HasFeature()
1101 .Case("objc_arc_weak", LangOpts.ObjCWeak) in HasFeature()
1102 .Case("objc_default_synthesize_properties", LangOpts.ObjC2) in HasFeature()
1103 .Case("objc_fixed_enum", LangOpts.ObjC2) in HasFeature()
1104 .Case("objc_instancetype", LangOpts.ObjC2) in HasFeature()
1105 .Case("objc_kindof", LangOpts.ObjC2) in HasFeature()
1106 .Case("objc_modules", LangOpts.ObjC2 && LangOpts.Modules) in HasFeature()
1107 .Case("objc_nonfragile_abi", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
1108 .Case("objc_property_explicit_atomic", in HasFeature()
1110 .Case("objc_protocol_qualifier_mangling", true) in HasFeature()
1111 .Case("objc_weak_class", LangOpts.ObjCRuntime.hasWeakClassImport()) in HasFeature()
1112 .Case("ownership_holds", true) in HasFeature()
1113 .Case("ownership_returns", true) in HasFeature()
1114 .Case("ownership_takes", true) in HasFeature()
1115 .Case("objc_bool", true) in HasFeature()
1116 .Case("objc_subscripting", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
1117 .Case("objc_array_literals", LangOpts.ObjC2) in HasFeature()
1118 .Case("objc_dictionary_literals", LangOpts.ObjC2) in HasFeature()
1119 .Case("objc_boxed_expressions", LangOpts.ObjC2) in HasFeature()
1120 .Case("objc_boxed_nsvalue_expressions", LangOpts.ObjC2) in HasFeature()
1121 .Case("arc_cf_code_audited", true) in HasFeature()
1122 .Case("objc_bridge_id", true) in HasFeature()
1123 .Case("objc_bridge_id_on_typedefs", true) in HasFeature()
1124 .Case("objc_generics", LangOpts.ObjC2) in HasFeature()
1125 .Case("objc_generics_variance", LangOpts.ObjC2) in HasFeature()
1126 .Case("objc_class_property", LangOpts.ObjC2) in HasFeature()
1128 .Case("c_alignas", LangOpts.C11) in HasFeature()
1129 .Case("c_alignof", LangOpts.C11) in HasFeature()
1130 .Case("c_atomic", LangOpts.C11) in HasFeature()
1131 .Case("c_generic_selections", LangOpts.C11) in HasFeature()
1132 .Case("c_static_assert", LangOpts.C11) in HasFeature()
1133 .Case("c_thread_local", in HasFeature()
1136 .Case("cxx_access_control_sfinae", LangOpts.CPlusPlus11) in HasFeature()
1137 .Case("cxx_alias_templates", LangOpts.CPlusPlus11) in HasFeature()
1138 .Case("cxx_alignas", LangOpts.CPlusPlus11) in HasFeature()
1139 .Case("cxx_alignof", LangOpts.CPlusPlus11) in HasFeature()
1140 .Case("cxx_atomic", LangOpts.CPlusPlus11) in HasFeature()
1141 .Case("cxx_attributes", LangOpts.CPlusPlus11) in HasFeature()
1142 .Case("cxx_auto_type", LangOpts.CPlusPlus11) in HasFeature()
1143 .Case("cxx_constexpr", LangOpts.CPlusPlus11) in HasFeature()
1144 .Case("cxx_decltype", LangOpts.CPlusPlus11) in HasFeature()
1145 .Case("cxx_decltype_incomplete_return_types", LangOpts.CPlusPlus11) in HasFeature()
1146 .Case("cxx_default_function_template_args", LangOpts.CPlusPlus11) in HasFeature()
1147 .Case("cxx_defaulted_functions", LangOpts.CPlusPlus11) in HasFeature()
1148 .Case("cxx_delegating_constructors", LangOpts.CPlusPlus11) in HasFeature()
1149 .Case("cxx_deleted_functions", LangOpts.CPlusPlus11) in HasFeature()
1150 .Case("cxx_explicit_conversions", LangOpts.CPlusPlus11) in HasFeature()
1151 .Case("cxx_generalized_initializers", LangOpts.CPlusPlus11) in HasFeature()
1152 .Case("cxx_implicit_moves", LangOpts.CPlusPlus11) in HasFeature()
1153 .Case("cxx_inheriting_constructors", LangOpts.CPlusPlus11) in HasFeature()
1154 .Case("cxx_inline_namespaces", LangOpts.CPlusPlus11) in HasFeature()
1155 .Case("cxx_lambdas", LangOpts.CPlusPlus11) in HasFeature()
1156 .Case("cxx_local_type_template_args", LangOpts.CPlusPlus11) in HasFeature()
1157 .Case("cxx_nonstatic_member_init", LangOpts.CPlusPlus11) in HasFeature()
1158 .Case("cxx_noexcept", LangOpts.CPlusPlus11) in HasFeature()
1159 .Case("cxx_nullptr", LangOpts.CPlusPlus11) in HasFeature()
1160 .Case("cxx_override_control", LangOpts.CPlusPlus11) in HasFeature()
1161 .Case("cxx_range_for", LangOpts.CPlusPlus11) in HasFeature()
1162 .Case("cxx_raw_string_literals", LangOpts.CPlusPlus11) in HasFeature()
1163 .Case("cxx_reference_qualified_functions", LangOpts.CPlusPlus11) in HasFeature()
1164 .Case("cxx_rvalue_references", LangOpts.CPlusPlus11) in HasFeature()
1165 .Case("cxx_strong_enums", LangOpts.CPlusPlus11) in HasFeature()
1166 .Case("cxx_static_assert", LangOpts.CPlusPlus11) in HasFeature()
1167 .Case("cxx_thread_local", in HasFeature()
1169 .Case("cxx_trailing_return", LangOpts.CPlusPlus11) in HasFeature()
1170 .Case("cxx_unicode_literals", LangOpts.CPlusPlus11) in HasFeature()
1171 .Case("cxx_unrestricted_unions", LangOpts.CPlusPlus11) in HasFeature()
1172 .Case("cxx_user_literals", LangOpts.CPlusPlus11) in HasFeature()
1173 .Case("cxx_variadic_templates", LangOpts.CPlusPlus11) in HasFeature()
1175 .Case("cxx_aggregate_nsdmi", LangOpts.CPlusPlus14) in HasFeature()
1176 .Case("cxx_binary_literals", LangOpts.CPlusPlus14) in HasFeature()
1177 .Case("cxx_contextual_conversions", LangOpts.CPlusPlus14) in HasFeature()
1178 .Case("cxx_decltype_auto", LangOpts.CPlusPlus14) in HasFeature()
1179 .Case("cxx_generic_lambdas", LangOpts.CPlusPlus14) in HasFeature()
1180 .Case("cxx_init_captures", LangOpts.CPlusPlus14) in HasFeature()
1181 .Case("cxx_relaxed_constexpr", LangOpts.CPlusPlus14) in HasFeature()
1182 .Case("cxx_return_type_deduction", LangOpts.CPlusPlus14) in HasFeature()
1183 .Case("cxx_variable_templates", LangOpts.CPlusPlus14) in HasFeature()
1192 .Case("has_nothrow_assign", LangOpts.CPlusPlus) in HasFeature()
1193 .Case("has_nothrow_copy", LangOpts.CPlusPlus) in HasFeature()
1194 .Case("has_nothrow_constructor", LangOpts.CPlusPlus) in HasFeature()
1195 .Case("has_trivial_assign", LangOpts.CPlusPlus) in HasFeature()
1196 .Case("has_trivial_copy", LangOpts.CPlusPlus) in HasFeature()
1197 .Case("has_trivial_constructor", LangOpts.CPlusPlus) in HasFeature()
1198 .Case("has_trivial_destructor", LangOpts.CPlusPlus) in HasFeature()
1199 .Case("has_virtual_destructor", LangOpts.CPlusPlus) in HasFeature()
1200 .Case("is_abstract", LangOpts.CPlusPlus) in HasFeature()
1201 .Case("is_base_of", LangOpts.CPlusPlus) in HasFeature()
1202 .Case("is_class", LangOpts.CPlusPlus) in HasFeature()
1203 .Case("is_constructible", LangOpts.CPlusPlus) in HasFeature()
1204 .Case("is_convertible_to", LangOpts.CPlusPlus) in HasFeature()
1205 .Case("is_empty", LangOpts.CPlusPlus) in HasFeature()
1206 .Case("is_enum", LangOpts.CPlusPlus) in HasFeature()
1207 .Case("is_final", LangOpts.CPlusPlus) in HasFeature()
1208 .Case("is_literal", LangOpts.CPlusPlus) in HasFeature()
1209 .Case("is_standard_layout", LangOpts.CPlusPlus) in HasFeature()
1210 .Case("is_pod", LangOpts.CPlusPlus) in HasFeature()
1211 .Case("is_polymorphic", LangOpts.CPlusPlus) in HasFeature()
1212 .Case("is_sealed", LangOpts.CPlusPlus && LangOpts.MicrosoftExt) in HasFeature()
1213 .Case("is_trivial", LangOpts.CPlusPlus) in HasFeature()
1214 .Case("is_trivially_assignable", LangOpts.CPlusPlus) in HasFeature()
1215 .Case("is_trivially_constructible", LangOpts.CPlusPlus) in HasFeature()
1216 .Case("is_trivially_copyable", LangOpts.CPlusPlus) in HasFeature()
1217 .Case("is_union", LangOpts.CPlusPlus) in HasFeature()
1218 .Case("modules", LangOpts.Modules) in HasFeature()
1219 .Case("safe_stack", LangOpts.Sanitize.has(SanitizerKind::SafeStack)) in HasFeature()
1220 .Case("tls", PP.getTargetInfo().isTLSSupported()) in HasFeature()
1221 .Case("underlying_type", LangOpts.CPlusPlus) in HasFeature()
1249 .Case("c_alignas", true) in HasExtension()
1250 .Case("c_alignof", true) in HasExtension()
1251 .Case("c_atomic", true) in HasExtension()
1252 .Case("c_generic_selections", true) in HasExtension()
1253 .Case("c_static_assert", true) in HasExtension()
1254 .Case("c_thread_local", PP.getTargetInfo().isTLSSupported()) in HasExtension()
1256 .Case("cxx_atomic", LangOpts.CPlusPlus) in HasExtension()
1257 .Case("cxx_deleted_functions", LangOpts.CPlusPlus) in HasExtension()
1258 .Case("cxx_explicit_conversions", LangOpts.CPlusPlus) in HasExtension()
1259 .Case("cxx_inline_namespaces", LangOpts.CPlusPlus) in HasExtension()
1260 .Case("cxx_local_type_template_args", LangOpts.CPlusPlus) in HasExtension()
1261 .Case("cxx_nonstatic_member_init", LangOpts.CPlusPlus) in HasExtension()
1262 .Case("cxx_override_control", LangOpts.CPlusPlus) in HasExtension()
1263 .Case("cxx_range_for", LangOpts.CPlusPlus) in HasExtension()
1264 .Case("cxx_reference_qualified_functions", LangOpts.CPlusPlus) in HasExtension()
1265 .Case("cxx_rvalue_references", LangOpts.CPlusPlus) in HasExtension()
1266 .Case("cxx_variadic_templates", LangOpts.CPlusPlus) in HasExtension()
1268 .Case("cxx_binary_literals", true) in HasExtension()
1269 .Case("cxx_init_captures", LangOpts.CPlusPlus11) in HasExtension()
1270 .Case("cxx_variable_templates", LangOpts.CPlusPlus) in HasExtension()
1697 .Case("__make_integer_seq", LangOpts.CPlusPlus) in ExpandBuiltinMacro()
1698 .Case("__type_pack_element", LangOpts.CPlusPlus) in ExpandBuiltinMacro()