Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/clang/Parse/AttrParserStringSwitches.inc is written in an unsupported language. File is not indexed.

0001 /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
0002 |*                                                                            *|
0003 |* Parser-related llvm::StringSwitch cases                                    *|
0004 |*                                                                            *|
0005 |* Automatically generated file, do not edit!                                 *|
0006 |* From: Attr.td                                                              *|
0007 |*                                                                            *|
0008 \*===----------------------------------------------------------------------===*/
0009 
0010 #if defined(CLANG_ATTR_ARG_CONTEXT_LIST)
0011 .Case("acquire_capability", true)
0012 .Case("acquire_shared_capability", true)
0013 .Case("acquired_after", true)
0014 .Case("acquired_before", true)
0015 .Case("assert_capability", true)
0016 .Case("assert_exclusive_lock", true)
0017 .Case("assert_shared_capability", true)
0018 .Case("assert_shared_lock", true)
0019 .Case("counted_by", true)
0020 .Case("counted_by_or_null", true)
0021 .Case("exclusive_lock_function", true)
0022 .Case("exclusive_locks_required", true)
0023 .Case("exclusive_trylock_function", true)
0024 .Case("guarded_by", true)
0025 .Case("lock_returned", true)
0026 .Case("locks_excluded", true)
0027 .Case("pt_guarded_by", true)
0028 .Case("release_capability", true)
0029 .Case("release_generic_capability", true)
0030 .Case("release_shared_capability", true)
0031 .Case("requires_capability", true)
0032 .Case("requires_shared_capability", true)
0033 .Case("shared_lock_function", true)
0034 .Case("shared_locks_required", true)
0035 .Case("shared_trylock_function", true)
0036 .Case("sized_by", true)
0037 .Case("sized_by_or_null", true)
0038 .Case("try_acquire_capability", true)
0039 .Case("try_acquire_shared_capability", true)
0040 .Case("unlock_function", true)
0041 #endif // CLANG_ATTR_ARG_CONTEXT_LIST
0042 
0043 #if defined(CLANG_ATTR_IDENTIFIER_ARG_LIST)
0044 .Case("__clang_arm_builtin_alias", true)
0045 .Case("argument_with_type_tag", true)
0046 .Case("availability", true)
0047 .Case("blocks", true)
0048 .Case("builtin_alias", true)
0049 .Case("callable_when", true)
0050 .Case("clang_builtin_alias", true)
0051 .Case("consumable", true)
0052 .Case("declare simd", true)
0053 .Case("declare target", true)
0054 .Case("enum_extensibility", true)
0055 .Case("format", true)
0056 .Case("function_return", true)
0057 .Case("guard", true)
0058 .Case("interrupt", (Syntax==AttributeCommonInfo::AS_GNU && !ScopeName && true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb)) ? 1 : (Syntax==AttributeCommonInfo::AS_CXX11 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb)) ? 1 : (Syntax==AttributeCommonInfo::AS_C23 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb)) ? 1 : (Syntax==AttributeCommonInfo::AS_GNU && !ScopeName && true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel)) ? 1 : (Syntax==AttributeCommonInfo::AS_CXX11 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel)) ? 1 : (Syntax==AttributeCommonInfo::AS_C23 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel)) ? 1 : (Syntax==AttributeCommonInfo::AS_GNU && !ScopeName && true && (T.getArch() == llvm::Triple::riscv32 || T.getArch() == llvm::Triple::riscv64)) ? 1 : (Syntax==AttributeCommonInfo::AS_CXX11 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::riscv32 || T.getArch() == llvm::Triple::riscv64)) ? 1 : (Syntax==AttributeCommonInfo::AS_C23 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::riscv32 || T.getArch() == llvm::Triple::riscv64)) ? 1 : 0)
0059 .Case("loop", (Syntax==AttributeCommonInfo::AS_Pragma && ScopeName && ScopeName->getName()=="clang"))
0060 .Case("mode", true)
0061 .Case("model", true)
0062 .Case("nounroll", true)
0063 .Case("nounroll_and_jam", true)
0064 .Case("ns_error_domain", true)
0065 .Case("objc_bridge", true)
0066 .Case("objc_bridge_mutable", true)
0067 .Case("objc_bridge_related", true)
0068 .Case("objc_gc", true)
0069 .Case("objc_method_family", true)
0070 .Case("objc_ownership", true)
0071 .Case("ownership_holds", true)
0072 .Case("ownership_returns", true)
0073 .Case("ownership_takes", true)
0074 .Case("param_typestate", true)
0075 .Case("pcs", true)
0076 .Case("pointer_with_type_tag", true)
0077 .Case("ptrauth_vtable_pointer", true)
0078 .Case("resource_class", true)
0079 .Case("return_typestate", true)
0080 .Case("set_typestate", true)
0081 .Case("shader", true)
0082 .Case("swift_async", true)
0083 .Case("swift_async_error", true)
0084 .Case("swift_error", true)
0085 .Case("swift_newtype", true)
0086 .Case("swift_wrapper", true)
0087 .Case("test_typestate", true)
0088 .Case("type_tag_for_datatype", true)
0089 .Case("type_visibility", true)
0090 .Case("unroll", (Syntax==AttributeCommonInfo::AS_Pragma && !ScopeName))
0091 .Case("unroll_and_jam", true)
0092 .Case("visibility", true)
0093 .Case("zero_call_used_regs", true)
0094 #endif // CLANG_ATTR_IDENTIFIER_ARG_LIST
0095 
0096 #if defined(CLANG_ATTR_STRING_LITERAL_ARG_LIST)
0097 .Case("__arm_agnostic", 4294967295)
0098 .Case("__arm_in", 4294967295)
0099 .Case("__arm_inout", 4294967295)
0100 .Case("__arm_new", 4294967295)
0101 .Case("__arm_out", 4294967295)
0102 .Case("__arm_preserves", 4294967295)
0103 .Case("__asm__", 1)
0104 .Case("abi_tag", 4294967295)
0105 .Case("acquire_handle", 1)
0106 .Case("alias", 1)
0107 .Case("allocate", 1)
0108 .Case("annotate", 1)
0109 .Case("annotate_type", 1)
0110 .Case("asm", 1)
0111 .Case("assume", (Syntax==AttributeCommonInfo::AS_CXX11 && ScopeName && ScopeName->getName()=="omp") ? 1 : 0)
0112 .Case("availability", 160)
0113 .Case("blocks", 1)
0114 .Case("btf_decl_tag", 1)
0115 .Case("btf_type_tag", 1)
0116 .Case("callable_when", 4294967295)
0117 .Case("capability", 1)
0118 .Case("code_seg", 1)
0119 .Case("deprecated", 3)
0120 .Case("diagnose_if", 14)
0121 .Case("enable_if", 2)
0122 .Case("enforce_tcb", 1)
0123 .Case("enforce_tcb_leaf", 1)
0124 .Case("error", 1)
0125 .Case("export_name", 1)
0126 .Case("external_source_symbol", 11)
0127 .Case("function_return", 1)
0128 .Case("ifunc", 1)
0129 .Case("import_module", 1)
0130 .Case("import_name", 1)
0131 .Case("init_seg", 1)
0132 .Case("interrupt", (Syntax==AttributeCommonInfo::AS_GNU && !ScopeName && true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb)) ? 1 : (Syntax==AttributeCommonInfo::AS_CXX11 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb)) ? 1 : (Syntax==AttributeCommonInfo::AS_C23 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::arm || T.getArch() == llvm::Triple::thumb || T.getArch() == llvm::Triple::armeb || T.getArch() == llvm::Triple::thumbeb)) ? 1 : (Syntax==AttributeCommonInfo::AS_GNU && !ScopeName && true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel)) ? 1 : (Syntax==AttributeCommonInfo::AS_CXX11 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel)) ? 1 : (Syntax==AttributeCommonInfo::AS_C23 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::mips || T.getArch() == llvm::Triple::mipsel)) ? 1 : (Syntax==AttributeCommonInfo::AS_GNU && !ScopeName && true && (T.getArch() == llvm::Triple::riscv32 || T.getArch() == llvm::Triple::riscv64)) ? 1 : (Syntax==AttributeCommonInfo::AS_CXX11 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::riscv32 || T.getArch() == llvm::Triple::riscv64)) ? 1 : (Syntax==AttributeCommonInfo::AS_C23 && ScopeName && ScopeName->getName()=="gnu" && true && (T.getArch() == llvm::Triple::riscv32 || T.getArch() == llvm::Triple::riscv64)) ? 1 : 0)
0133 .Case("model", 1)
0134 .Case("no_builtin", 4294967295)
0135 .Case("no_sanitize", 4294967295)
0136 .Case("no_specializations", 1)
0137 .Case("nodiscard", 1)
0138 .Case("objc_runtime_name", 1)
0139 .Case("pcs", 1)
0140 .Case("ptrauth_vtable_pointer", 7)
0141 .Case("register", 3)
0142 .Case("release_handle", 1)
0143 .Case("resource_class", 1)
0144 .Case("section", 1)
0145 .Case("shader", 1)
0146 .Case("shared_capability", 1)
0147 .Case("suppress", 4294967295)
0148 .Case("swift_async_name", 1)
0149 .Case("swift_attr", 1)
0150 .Case("swift_bridge", 1)
0151 .Case("swift_name", 1)
0152 .Case("target", 1)
0153 .Case("target_clones", 4294967295)
0154 .Case("target_version", 1)
0155 .Case("tls_model", 1)
0156 .Case("type_visibility", 1)
0157 .Case("unavailable", 1)
0158 .Case("use_handle", 1)
0159 .Case("uuid", 1)
0160 .Case("visibility", 1)
0161 .Case("warn_unused_result", 1)
0162 .Case("warning", 1)
0163 .Case("weakref", 1)
0164 .Case("zero_call_used_regs", 1)
0165 #endif // CLANG_ATTR_STRING_LITERAL_ARG_LIST
0166 
0167 #if defined(CLANG_ATTR_VARIADIC_IDENTIFIER_ARG_LIST)
0168 .Case("callback", true)
0169 .Case("cpu_dispatch", true)
0170 .Case("cpu_specific", true)
0171 .Case("lifetime_capture_by", true)
0172 #endif // CLANG_ATTR_VARIADIC_IDENTIFIER_ARG_LIST
0173 
0174 #if defined(CLANG_ATTR_THIS_ISA_IDENTIFIER_ARG_LIST)
0175 .Case("callback", true)
0176 .Case("lifetime_capture_by", true)
0177 #endif // CLANG_ATTR_THIS_ISA_IDENTIFIER_ARG_LIST
0178 
0179 #if defined(CLANG_ATTR_ACCEPTS_EXPR_PACK)
0180 .Case("annotate", true)
0181 .Case("annotate_type", true)
0182 #endif // CLANG_ATTR_ACCEPTS_EXPR_PACK
0183 
0184 #if defined(CLANG_ATTR_TYPE_ARG_LIST)
0185 .Case("Owner", true)
0186 .Case("Pointer", true)
0187 .Case("contained_type", true)
0188 .Case("iboutletcollection", true)
0189 .Case("preferred_name", true)
0190 .Case("preferred_type", true)
0191 .Case("sycl_kernel_entry_point", true)
0192 .Case("vec_type_hint", true)
0193 #endif // CLANG_ATTR_TYPE_ARG_LIST
0194 
0195 #if defined(CLANG_ATTR_LATE_PARSED_LIST)
0196 .Case("acquire_capability", 1)
0197 .Case("acquire_shared_capability", 1)
0198 .Case("exclusive_lock_function", 1)
0199 .Case("shared_lock_function", 1)
0200 .Case("assert_capability", 1)
0201 .Case("assert_shared_capability", 1)
0202 .Case("assert_exclusive_lock", 1)
0203 .Case("assert_shared_lock", 1)
0204 .Case("diagnose_if", 1)
0205 .Case("exclusive_trylock_function", 1)
0206 .Case("lock_returned", 1)
0207 .Case("locks_excluded", 1)
0208 .Case("release_capability", 1)
0209 .Case("release_shared_capability", 1)
0210 .Case("release_generic_capability", 1)
0211 .Case("unlock_function", 1)
0212 .Case("requires_capability", 1)
0213 .Case("exclusive_locks_required", 1)
0214 .Case("requires_shared_capability", 1)
0215 .Case("shared_locks_required", 1)
0216 .Case("shared_trylock_function", 1)
0217 .Case("try_acquire_capability", 1)
0218 .Case("try_acquire_shared_capability", 1)
0219 #endif // CLANG_ATTR_LATE_PARSED_LIST
0220 
0221 #if defined(CLANG_ATTR_LATE_PARSED_EXPERIMENTAL_EXT_LIST)
0222 .Case("acquired_after", 1)
0223 .Case("acquired_before", 1)
0224 .Case("counted_by", 1)
0225 .Case("counted_by_or_null", 1)
0226 .Case("guarded_by", 1)
0227 .Case("pt_guarded_by", 1)
0228 .Case("sized_by", 1)
0229 .Case("sized_by_or_null", 1)
0230 #endif // CLANG_ATTR_LATE_PARSED_EXPERIMENTAL_EXT_LIST
0231 
0232 #if defined(CLANG_ATTR_STRICT_IDENTIFIER_ARG_LIST)
0233 .Case("ptrauth_vtable_pointer", true)
0234 #endif // CLANG_ATTR_STRICT_IDENTIFIER_ARG_LIST
0235