003 File Manager
Current Path:
/usr/src/contrib/llvm-project/clang/include/clang/Basic
usr
/
src
/
contrib
/
llvm-project
/
clang
/
include
/
clang
/
Basic
/
📁
..
📄
AArch64SVEACLETypes.def
(7.09 KB)
📄
ABI.h
(5.95 KB)
📄
ASTNode.td
(120 B)
📄
AddressSpaces.h
(2.59 KB)
📄
AlignedAllocation.h
(1.38 KB)
📄
AllDiagnostics.h
(1.44 KB)
📄
Attr.td
(122.78 KB)
📄
AttrDocs.td
(197.8 KB)
📄
AttrKinds.h
(929 B)
📄
AttrSubjectMatchRules.h
(957 B)
📄
AttributeCommonInfo.h
(7.02 KB)
📄
Attributes.h
(1.35 KB)
📄
BitmaskEnum.h
(749 B)
📄
Builtins.def
(71.64 KB)
📄
Builtins.h
(9.13 KB)
📄
BuiltinsAArch64.def
(14.31 KB)
📄
BuiltinsAMDGPU.def
(13.1 KB)
📄
BuiltinsARM.def
(18.6 KB)
📄
BuiltinsBPF.def
(1016 B)
📄
BuiltinsHexagon.def
(6.15 KB)
📄
BuiltinsHexagonDep.def
(117.26 KB)
📄
BuiltinsHexagonMapCustomDep.def
(8.56 KB)
📄
BuiltinsLe64.def
(728 B)
📄
BuiltinsMips.def
(35.51 KB)
📄
BuiltinsNEON.def
(814 B)
📄
BuiltinsNVPTX.def
(27.63 KB)
📄
BuiltinsPPC.def
(21.53 KB)
📄
BuiltinsSVE.def
(786 B)
📄
BuiltinsSystemZ.def
(19.7 KB)
📄
BuiltinsWebAssembly.def
(10.17 KB)
📄
BuiltinsX86.def
(140.49 KB)
📄
BuiltinsX86_64.def
(6.79 KB)
📄
BuiltinsXCore.def
(846 B)
📄
CapturedStmt.h
(662 B)
📄
CharInfo.h
(6.52 KB)
📄
CodeGenOptions.def
(21.65 KB)
📄
CodeGenOptions.h
(14.14 KB)
📄
CommentNodes.td
(1.04 KB)
📄
CommentOptions.h
(1.1 KB)
📄
Cuda.h
(2.3 KB)
📄
DebugInfoOptions.h
(1.72 KB)
📄
DeclNodes.td
(4.72 KB)
📄
Diagnostic.h
(55.73 KB)
📄
Diagnostic.td
(5.29 KB)
📄
DiagnosticAST.h
(903 B)
📄
DiagnosticASTKinds.td
(29.35 KB)
📄
DiagnosticAnalysis.h
(933 B)
📄
DiagnosticAnalysisKinds.td
(405 B)
📄
DiagnosticCategories.h
(757 B)
📄
DiagnosticCategories.td
(480 B)
📄
DiagnosticComment.h
(927 B)
📄
DiagnosticCommentKinds.td
(6.18 KB)
📄
DiagnosticCommonKinds.td
(14.32 KB)
📄
DiagnosticCrossTU.h
(927 B)
📄
DiagnosticCrossTUKinds.td
(889 B)
📄
DiagnosticDocs.td
(1.96 KB)
📄
DiagnosticDriver.h
(921 B)
📄
DiagnosticDriverKinds.td
(25.54 KB)
📄
DiagnosticError.h
(1.98 KB)
📄
DiagnosticFrontend.h
(933 B)
📄
DiagnosticFrontendKinds.td
(13.86 KB)
📄
DiagnosticGroups.td
(59.71 KB)
📄
DiagnosticIDs.h
(12.83 KB)
📄
DiagnosticLex.h
(903 B)
📄
DiagnosticLexKinds.td
(38.36 KB)
📄
DiagnosticOptions.def
(4.58 KB)
📄
DiagnosticOptions.h
(4.21 KB)
📄
DiagnosticParse.h
(915 B)
📄
DiagnosticParseKinds.td
(68.47 KB)
📄
DiagnosticRefactoring.h
(951 B)
📄
DiagnosticRefactoringKinds.td
(1.33 KB)
📄
DiagnosticSema.h
(909 B)
📄
DiagnosticSemaKinds.td
(546.17 KB)
📄
DiagnosticSerialization.h
(962 B)
📄
DiagnosticSerializationKinds.td
(18.08 KB)
📄
ExceptionSpecificationType.h
(2.48 KB)
📄
ExpressionTraits.h
(1.18 KB)
📄
FPOptions.def
(1.16 KB)
📄
Features.def
(11.55 KB)
📄
FileManager.h
(16.39 KB)
📄
FileSystemOptions.h
(924 B)
📄
FileSystemStatCache.h
(3.26 KB)
📄
FixedPoint.h
(8.6 KB)
📄
IdentifierTable.h
(33.75 KB)
📄
JsonSupport.h
(3.69 KB)
📄
LLVM.h
(2.43 KB)
📄
Lambda.h
(1.37 KB)
📄
LangOptions.def
(21.96 KB)
📄
LangOptions.h
(18.78 KB)
📄
LangStandard.h
(3.87 KB)
📄
LangStandards.def
(6.8 KB)
📄
Linkage.h
(4.13 KB)
📄
MSP430Target.def
(7.04 KB)
📄
MacroBuilder.h
(1.34 KB)
📄
Module.h
(24.09 KB)
📄
ObjCRuntime.h
(14.36 KB)
📄
OpenCLExtensionTypes.def
(1.59 KB)
📄
OpenCLExtensions.def
(4.38 KB)
📄
OpenCLImageTypes.def
(4.1 KB)
📄
OpenCLOptions.h
(4.42 KB)
📄
OpenMPKinds.def
(4.58 KB)
📄
OpenMPKinds.h
(9.66 KB)
📄
OperatorKinds.def
(6.56 KB)
📄
OperatorKinds.h
(1.55 KB)
📄
OperatorPrecedence.h
(1.82 KB)
📄
PartialDiagnostic.h
(12.96 KB)
📄
PlistSupport.h
(4.02 KB)
📄
PragmaKinds.h
(1.21 KB)
📄
PrettyStackTrace.h
(1.26 KB)
📄
SanitizerBlacklist.h
(1.73 KB)
📄
SanitizerSpecialCaseList.h
(1.81 KB)
📄
Sanitizers.def
(6.41 KB)
📄
Sanitizers.h
(6.57 KB)
📄
SourceLocation.h
(15.56 KB)
📄
SourceManager.h
(71.11 KB)
📄
SourceManagerInternals.h
(4.27 KB)
📄
Specifiers.h
(12.68 KB)
📄
Stack.h
(1.94 KB)
📄
StmtNodes.td
(10.92 KB)
📄
SyncScope.h
(4.87 KB)
📄
TargetBuiltins.h
(9.18 KB)
📄
TargetCXXABI.h
(12.49 KB)
📄
TargetInfo.h
(54.4 KB)
📄
TargetOptions.h
(3 KB)
📄
TemplateKinds.h
(2.22 KB)
📄
TokenKinds.def
(33.83 KB)
📄
TokenKinds.h
(3.99 KB)
📄
TypeNodes.td
(5.48 KB)
📄
TypeTraits.h
(2.67 KB)
📄
Version.h
(2.23 KB)
📄
Visibility.h
(4.4 KB)
📄
X86Target.def
(5.21 KB)
📄
XRayInstr.h
(1.92 KB)
📄
XRayLists.h
(1.73 KB)
📄
arm_bf16.td
(590 B)
📄
arm_cde.td
(9.29 KB)
📄
arm_fp16.td
(5.79 KB)
📄
arm_mve.td
(70.85 KB)
📄
arm_mve_defs.td
(24.52 KB)
📄
arm_neon.td
(90.63 KB)
📄
arm_neon_incl.td
(13.64 KB)
📄
arm_sve.td
(162.48 KB)
Editing: Features.def
//===--- Features.def - Features and Extensions database --------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file defines features exposed via __has_feature and extensions exposed // via __has_extension. Users of this file must either define the FEATURE or // EXTENSION macros (or both) to make use of this information. Note that these // macros expect the following declarations to be available for the Predicate: // // const LangOptions &LangOpts; // const Preprocessor &PP; // // The Predicate field dictates the conditions under which the feature or // extension will be made available. // // FEATURE(...) should be used to advertise support for standard language // features, whereas EXTENSION(...) should be used for clang extensions. Note // that many of the identifiers in this file don't follow this rule for backward // compatibility reasons. // //===----------------------------------------------------------------------===// #if !defined(FEATURE) && !defined(EXTENSION) # error Define either the FEATURE or EXTENSION macro to handle features #endif #ifndef FEATURE #define FEATURE(Name, Predicate) #endif #ifndef EXTENSION #define EXTENSION(Name, Predicate) #endif FEATURE(speculative_load_hardening, LangOpts.SpeculativeLoadHardening) FEATURE(address_sanitizer, LangOpts.Sanitize.hasOneOf(SanitizerKind::Address | SanitizerKind::KernelAddress)) FEATURE(leak_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Leak)) FEATURE(hwaddress_sanitizer, LangOpts.Sanitize.hasOneOf(SanitizerKind::HWAddress | SanitizerKind::KernelHWAddress)) FEATURE(memtag_sanitizer, LangOpts.Sanitize.has(SanitizerKind::MemTag)) FEATURE(xray_instrument, LangOpts.XRayInstrument) FEATURE(undefined_behavior_sanitizer, LangOpts.Sanitize.hasOneOf(SanitizerKind::Undefined)) FEATURE(assume_nonnull, true) FEATURE(attribute_analyzer_noreturn, true) FEATURE(attribute_availability, true) FEATURE(attribute_availability_with_message, true) FEATURE(attribute_availability_app_extension, true) FEATURE(attribute_availability_with_version_underscores, true) FEATURE(attribute_availability_tvos, true) FEATURE(attribute_availability_watchos, true) FEATURE(attribute_availability_with_strict, true) FEATURE(attribute_availability_with_replacement, true) FEATURE(attribute_availability_in_templates, true) FEATURE(attribute_availability_swift, true) FEATURE(attribute_cf_returns_not_retained, true) FEATURE(attribute_cf_returns_retained, true) FEATURE(attribute_cf_returns_on_parameters, true) FEATURE(attribute_deprecated_with_message, true) FEATURE(attribute_deprecated_with_replacement, true) FEATURE(attribute_ext_vector_type, true) FEATURE(attribute_ns_returns_not_retained, true) FEATURE(attribute_ns_returns_retained, true) FEATURE(attribute_ns_consumes_self, true) FEATURE(attribute_ns_consumed, true) FEATURE(attribute_cf_consumed, true) FEATURE(attribute_objc_ivar_unused, true) FEATURE(attribute_objc_method_family, true) FEATURE(attribute_overloadable, true) FEATURE(attribute_unavailable_with_message, true) FEATURE(attribute_unused_on_fields, true) FEATURE(attribute_diagnose_if_objc, true) FEATURE(blocks, LangOpts.Blocks) FEATURE(c_thread_safety_attributes, true) FEATURE(cxx_exceptions, LangOpts.CXXExceptions) FEATURE(cxx_rtti, LangOpts.RTTI &&LangOpts.RTTIData) FEATURE(enumerator_attributes, true) FEATURE(nullability, true) FEATURE(nullability_on_arrays, true) FEATURE(memory_sanitizer, LangOpts.Sanitize.hasOneOf(SanitizerKind::Memory | SanitizerKind::KernelMemory)) FEATURE(thread_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Thread)) FEATURE(dataflow_sanitizer, LangOpts.Sanitize.has(SanitizerKind::DataFlow)) FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo)) // Objective-C features FEATURE(objc_arr, LangOpts.ObjCAutoRefCount) // FIXME: REMOVE? FEATURE(objc_arc, LangOpts.ObjCAutoRefCount) FEATURE(objc_arc_fields, true) FEATURE(objc_arc_weak, LangOpts.ObjCWeak) FEATURE(objc_default_synthesize_properties, LangOpts.ObjC) FEATURE(objc_fixed_enum, LangOpts.ObjC) FEATURE(objc_instancetype, LangOpts.ObjC) FEATURE(objc_kindof, LangOpts.ObjC) FEATURE(objc_modules, LangOpts.ObjC && LangOpts.Modules) FEATURE(objc_nonfragile_abi, LangOpts.ObjCRuntime.isNonFragile()) FEATURE(objc_property_explicit_atomic, true) FEATURE(objc_protocol_qualifier_mangling, true) FEATURE(objc_weak_class, LangOpts.ObjCRuntime.hasWeakClassImport()) FEATURE(ownership_holds, true) FEATURE(ownership_returns, true) FEATURE(ownership_takes, true) FEATURE(objc_bool, true) FEATURE(objc_subscripting, LangOpts.ObjCRuntime.isNonFragile()) FEATURE(objc_array_literals, LangOpts.ObjC) FEATURE(objc_dictionary_literals, LangOpts.ObjC) FEATURE(objc_boxed_expressions, LangOpts.ObjC) FEATURE(objc_boxed_nsvalue_expressions, LangOpts.ObjC) FEATURE(arc_cf_code_audited, true) FEATURE(objc_bridge_id, true) FEATURE(objc_bridge_id_on_typedefs, true) FEATURE(objc_generics, LangOpts.ObjC) FEATURE(objc_generics_variance, LangOpts.ObjC) FEATURE(objc_class_property, LangOpts.ObjC) FEATURE(objc_c_static_assert, LangOpts.C11) FEATURE(objc_cxx_static_assert, LangOpts.CPlusPlus11) EXTENSION(objc_c_static_assert, true) // C11 features FEATURE(c_alignas, LangOpts.C11) FEATURE(c_alignof, LangOpts.C11) FEATURE(c_atomic, LangOpts.C11) FEATURE(c_generic_selections, LangOpts.C11) FEATURE(c_static_assert, LangOpts.C11) FEATURE(c_thread_local, LangOpts.C11 &&PP.getTargetInfo().isTLSSupported()) // C++11 features FEATURE(cxx_access_control_sfinae, LangOpts.CPlusPlus11) FEATURE(cxx_alias_templates, LangOpts.CPlusPlus11) FEATURE(cxx_alignas, LangOpts.CPlusPlus11) FEATURE(cxx_alignof, LangOpts.CPlusPlus11) FEATURE(cxx_atomic, LangOpts.CPlusPlus11) FEATURE(cxx_attributes, LangOpts.CPlusPlus11) FEATURE(cxx_auto_type, LangOpts.CPlusPlus11) FEATURE(cxx_constexpr, LangOpts.CPlusPlus11) FEATURE(cxx_constexpr_string_builtins, LangOpts.CPlusPlus11) FEATURE(cxx_decltype, LangOpts.CPlusPlus11) FEATURE(cxx_decltype_incomplete_return_types, LangOpts.CPlusPlus11) FEATURE(cxx_default_function_template_args, LangOpts.CPlusPlus11) FEATURE(cxx_defaulted_functions, LangOpts.CPlusPlus11) FEATURE(cxx_delegating_constructors, LangOpts.CPlusPlus11) FEATURE(cxx_deleted_functions, LangOpts.CPlusPlus11) FEATURE(cxx_explicit_conversions, LangOpts.CPlusPlus11) FEATURE(cxx_generalized_initializers, LangOpts.CPlusPlus11) FEATURE(cxx_implicit_moves, LangOpts.CPlusPlus11) FEATURE(cxx_inheriting_constructors, LangOpts.CPlusPlus11) FEATURE(cxx_inline_namespaces, LangOpts.CPlusPlus11) FEATURE(cxx_lambdas, LangOpts.CPlusPlus11) FEATURE(cxx_local_type_template_args, LangOpts.CPlusPlus11) FEATURE(cxx_nonstatic_member_init, LangOpts.CPlusPlus11) FEATURE(cxx_noexcept, LangOpts.CPlusPlus11) FEATURE(cxx_nullptr, LangOpts.CPlusPlus11) FEATURE(cxx_override_control, LangOpts.CPlusPlus11) FEATURE(cxx_range_for, LangOpts.CPlusPlus11) FEATURE(cxx_raw_string_literals, LangOpts.CPlusPlus11) FEATURE(cxx_reference_qualified_functions, LangOpts.CPlusPlus11) FEATURE(cxx_rvalue_references, LangOpts.CPlusPlus11) FEATURE(cxx_strong_enums, LangOpts.CPlusPlus11) FEATURE(cxx_static_assert, LangOpts.CPlusPlus11) FEATURE(cxx_thread_local, LangOpts.CPlusPlus11 &&PP.getTargetInfo().isTLSSupported()) FEATURE(cxx_trailing_return, LangOpts.CPlusPlus11) FEATURE(cxx_unicode_literals, LangOpts.CPlusPlus11) FEATURE(cxx_unrestricted_unions, LangOpts.CPlusPlus11) FEATURE(cxx_user_literals, LangOpts.CPlusPlus11) FEATURE(cxx_variadic_templates, LangOpts.CPlusPlus11) // C++14 features FEATURE(cxx_aggregate_nsdmi, LangOpts.CPlusPlus14) FEATURE(cxx_binary_literals, LangOpts.CPlusPlus14) FEATURE(cxx_contextual_conversions, LangOpts.CPlusPlus14) FEATURE(cxx_decltype_auto, LangOpts.CPlusPlus14) FEATURE(cxx_generic_lambdas, LangOpts.CPlusPlus14) FEATURE(cxx_init_captures, LangOpts.CPlusPlus14) FEATURE(cxx_relaxed_constexpr, LangOpts.CPlusPlus14) FEATURE(cxx_return_type_deduction, LangOpts.CPlusPlus14) FEATURE(cxx_variable_templates, LangOpts.CPlusPlus14) // NOTE: For features covered by SD-6, it is preferable to provide *only* // the SD-6 macro and not a __has_feature check. // C++ TSes // FEATURE(cxx_runtime_arrays, LangOpts.CPlusPlusTSArrays) // FEATURE(cxx_concepts, LangOpts.CPlusPlusTSConcepts) // FIXME: Should this be __has_feature or __has_extension? // FEATURE(raw_invocation_type, LangOpts.CPlusPlus) // Type traits // N.B. Additional type traits should not be added to the following list. // Instead, they should be detected by has_builtin. FEATURE(has_nothrow_assign, LangOpts.CPlusPlus) FEATURE(has_nothrow_copy, LangOpts.CPlusPlus) FEATURE(has_nothrow_constructor, LangOpts.CPlusPlus) FEATURE(has_trivial_assign, LangOpts.CPlusPlus) FEATURE(has_trivial_copy, LangOpts.CPlusPlus) FEATURE(has_trivial_constructor, LangOpts.CPlusPlus) FEATURE(has_trivial_destructor, LangOpts.CPlusPlus) FEATURE(has_virtual_destructor, LangOpts.CPlusPlus) FEATURE(is_abstract, LangOpts.CPlusPlus) FEATURE(is_base_of, LangOpts.CPlusPlus) FEATURE(is_class, LangOpts.CPlusPlus) FEATURE(is_constructible, LangOpts.CPlusPlus) FEATURE(is_convertible_to, LangOpts.CPlusPlus) FEATURE(is_empty, LangOpts.CPlusPlus) FEATURE(is_enum, LangOpts.CPlusPlus) FEATURE(is_final, LangOpts.CPlusPlus) FEATURE(is_literal, LangOpts.CPlusPlus) FEATURE(is_standard_layout, LangOpts.CPlusPlus) FEATURE(is_pod, LangOpts.CPlusPlus) FEATURE(is_polymorphic, LangOpts.CPlusPlus) FEATURE(is_sealed, LangOpts.CPlusPlus &&LangOpts.MicrosoftExt) FEATURE(is_trivial, LangOpts.CPlusPlus) FEATURE(is_trivially_assignable, LangOpts.CPlusPlus) FEATURE(is_trivially_constructible, LangOpts.CPlusPlus) FEATURE(is_trivially_copyable, LangOpts.CPlusPlus) FEATURE(is_union, LangOpts.CPlusPlus) FEATURE(modules, LangOpts.Modules) FEATURE(safe_stack, LangOpts.Sanitize.has(SanitizerKind::SafeStack)) FEATURE(shadow_call_stack, LangOpts.Sanitize.has(SanitizerKind::ShadowCallStack)) FEATURE(tls, PP.getTargetInfo().isTLSSupported()) FEATURE(underlying_type, LangOpts.CPlusPlus) // C11 features supported by other languages as extensions. EXTENSION(c_alignas, true) EXTENSION(c_alignof, true) EXTENSION(c_atomic, true) EXTENSION(c_generic_selections, true) EXTENSION(c_static_assert, true) EXTENSION(c_thread_local, PP.getTargetInfo().isTLSSupported()) // C++11 features supported by other languages as extensions. EXTENSION(cxx_atomic, LangOpts.CPlusPlus) EXTENSION(cxx_deleted_functions, LangOpts.CPlusPlus) EXTENSION(cxx_explicit_conversions, LangOpts.CPlusPlus) EXTENSION(cxx_inline_namespaces, LangOpts.CPlusPlus) EXTENSION(cxx_local_type_template_args, LangOpts.CPlusPlus) EXTENSION(cxx_nonstatic_member_init, LangOpts.CPlusPlus) EXTENSION(cxx_override_control, LangOpts.CPlusPlus) EXTENSION(cxx_range_for, LangOpts.CPlusPlus) EXTENSION(cxx_reference_qualified_functions, LangOpts.CPlusPlus) EXTENSION(cxx_rvalue_references, LangOpts.CPlusPlus) EXTENSION(cxx_variadic_templates, LangOpts.CPlusPlus) EXTENSION(cxx_fixed_enum, true) // C++14 features supported by other languages as extensions. EXTENSION(cxx_binary_literals, true) EXTENSION(cxx_init_captures, LangOpts.CPlusPlus11) EXTENSION(cxx_variable_templates, LangOpts.CPlusPlus) // Miscellaneous language extensions EXTENSION(overloadable_unmarked, true) EXTENSION(pragma_clang_attribute_namespaces, true) EXTENSION(pragma_clang_attribute_external_declaration, true) EXTENSION(gnu_asm, LangOpts.GNUAsm) EXTENSION(gnu_asm_goto_with_outputs, LangOpts.GNUAsm) EXTENSION(matrix_types, LangOpts.MatrixTypes) #undef EXTENSION #undef FEATURE
Upload File
Create Folder