| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | swifttailcc-musttail.ll | 6 ; CHECK: inreg attribute not allowed in swifttailcc musttail caller 12 ; CHECK: inalloca attribute not allowed in swifttailcc musttail caller 18 ; CHECK: swifterror attribute not allowed in swifttailcc musttail caller 24 ; CHECK: preallocated attribute not allowed in swifttailcc musttail caller 30 ; CHECK: byref attribute not allowed in swifttailcc musttail caller 36 ; CHECK: inreg attribute not allowed in swifttailcc musttail callee 42 ; CHECK: inalloca attribute not allowed in swifttailcc musttail callee 48 ; CHECK: swifterror attribute not allowed in swifttailcc musttail callee 55 ; CHECK: preallocated attribute not allowed in swifttailcc musttail callee 61 ; CHECK: byref attribute not allowed in swifttailcc musttail callee
|
| H A D | tailcc-musttail.ll | 6 ; CHECK: inreg attribute not allowed in tailcc musttail caller 12 ; CHECK: inalloca attribute not allowed in tailcc musttail caller 18 ; CHECK: swifterror attribute not allowed in tailcc musttail caller 24 ; CHECK: preallocated attribute not allowed in tailcc musttail caller 30 ; CHECK: byref attribute not allowed in tailcc musttail caller 36 ; CHECK: inreg attribute not allowed in tailcc musttail callee 42 ; CHECK: inalloca attribute not allowed in tailcc musttail callee 48 ; CHECK: swifterror attribute not allowed in tailcc musttail callee 55 ; CHECK: preallocated attribute not allowed in tailcc musttail callee 61 ; CHECK: byref attribute not allowed in tailcc musttail callee
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/portability/ |
| H A D | restrict-system-includes.rst | 17 #include <zlib.h> // Good: allowed system header. 18 #include "src/myfile.h" // Good: non-system header always allowed. 25 #include <curses.h> // Good: allowed system header. 26 #include <openssl/ssl.h> // Good: allowed system header. 28 #include "src/myfile.h" // Good: non-system header always allowed. 38 #include <openssl/ssl.h> // Good: allowed system header. 39 #include <openssl/rsa.h> // Good: allowed system header. 41 #include "src/myfile.h" // Good: non-system header always allowed. 48 A string containing a comma separated glob list of allowed include
|
| /llvm-project-15.0.7/clang/test/SemaOpenCLCXX/ |
| H A D | references.clcpp | 8 // References to functions are not allowed. 16 //expected-error@-2{{references to functions are not allowed}} 23 //expected-error@-2{{references to functions are not allowed}} 27 //expected-error@-2{{references to functions are not allowed}} 32 //expected-error@-2{{references to functions are not allowed}} 36 //expected-error@-2{{references to functions are not allowed}} 43 //expected-error@-2{{pointers to functions are not allowed}}
|
| H A D | addrspace_cast.clcpp | 5 …pected-error{{addrspace_cast from '__global int *__private' to '__generic float *' is not allowed}} 7 …int>(gl); //expected-error{{addrspace_cast from '__global int *__private' to 'int' is not allowed}} 9 …*>(*gl); //expected-error{{addrspace_cast from '__global int' to '__generic int *' is not allowed}} 13 …ed-error{{addrspace_cast from 'const __global int *__private' to '__generic int *' is not allowed}} 16 …gl_ref); //expected-error{{addrspace_cast from '__global int' to '__generic int &' is not allowed}} 25 …<T>(par); //expected-error{{addrspace_cast from '__global int *__private' to 'int' is not allowed}}
|
| H A D | address-space-castoperators.clcpp | 8 …-error{{const_cast from '__local int *__generic *' to '__generic int *__generic *' is not allowed}} 9 …error{{static_cast from '__local int *__generic *' to '__generic int *__generic *' is not allowed}} 13 …ror{{const_cast from '__constant int *__generic *' to '__generic int *__generic *' is not allowed}} 14 …or{{static_cast from '__constant int *__generic *' to '__generic int *__generic *' is not allowed}}
|
| H A D | reinterpret-cast.clcpp | 28 …ate X>(x); // expected-error{{reinterpret_cast from '__private X' to '__private X' is not allowed}} 31 …r); // expected-error{{reinterpret_cast from '__global int *' to '__private int *' is not allowed}} 36 …(r_id1); // expected-error{{reinterpret_cast from 'reserve_id_t' to 'reserve_id_t' is not allowed}}
|
| H A D | members.clcpp | 17 //expected-error@-2{{pointers to functions are not allowed}} 23 //expected-error@-2{{pointers to functions are not allowed}}
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | func.cl | 15 // expected-error@-2 {{invalid prototype, variadic arguments are not allowed in OpenCL}} 20 // expected-error@-2 {{invalid prototype, variadic arguments are not allowed in OpenCL}} 23 // expected-error@-5 {{pointers to functions are not allowed}} 27 // expected-error@-2 {{invalid prototype, variadic arguments are not allowed in OpenCL}} 35 // expected-error@-2 {{pointers to functions are not allowed}} 53 // expected-error@-2 {{pointers to functions are not allowed}} 59 // expected-error@-2{{taking address of function is not allowed}} 70 // expected-error@-2{{taking address of function is not allowed}} 79 …d-error{{taking address of function is not allowed}} expected-error{{taking address of function is…
|
| H A D | invalid-block.cl | 4 …ror{{declaring function parameter of type 'int (__generic ^const __private)(void)' is not allowed}} 19 // A block with extern storage class is not allowed. 31 …eclaring function return value of type 'bl_t' (aka 'int (__generic ^const)(void)') is not allowed}} 33 …eclaring function return value of type 'bl_t' (aka 'int (__generic ^const)(void)') is not allowed}} 34 … parameter of type '__private bl_t' (aka 'int (__generic ^const __private)(void)') is not allowed}} 50 // A block with variadic argument is not allowed. 51 …pe, variadic arguments are not allowed in OpenCL}} expected-error {{invalid prototype, variadic ar… 54 …t)(int, ...); // expected-error {{invalid prototype, variadic arguments are not allowed in OpenCL}} 94 // Taking address of a capture is not allowed 100 &a1; //expected-error{{taking address of a capture is not allowed}} [all …]
|
| H A D | half.cl | 6 …isabled(half *p, // expected-error{{declaring function return value of type 'half' is not allowed}} 7 … half h) // expected-error{{declaring function parameter of type '__private half' is not allowed}} 9 half a[2]; // expected-error{{declaring variable of type '__private half[2]' is not allowed}} 10 half b; // expected-error{{declaring variable of type '__private half' is not allowed}} 17 b = (half) c; // expected-error{{casting to type 'half' is not allowed}} 21 half *allowed = &p[1]; 34 …cted-error{{declaring function parameter of type '__private half' is not allowed; did you forget *… 53 half *allowed = &p[1];
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | block-on-method-param.m | 6 …s__(byref))) id)errorp; // expected-error {{__block attribute not allowed, only allowed on local v… 10 …_(byref))) id)errorp {} // expected-error {{__block attribute not allowed, only allowed on local v…
|
| H A D | warn-direct-ivar-access.m | 52 x->ivar = 0; // expected-error {{dereferencing a __weak pointer is not allowed}} 53 return y ? y->ivar // expected-error {{dereferencing a __weak pointer is not allowed}} 54 : (*x).ivar; // expected-error {{dereferencing a __weak pointer is not allowed}}
|
| /llvm-project-15.0.7/llvm/test/MC/Mips/ |
| H A D | cplocal-bad.s | 10 # O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode 13 # O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode 16 # O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode 19 # O32: :[[@LINE-1]]:{{[0-9]+}}: error: .cplocal is allowed only in N32 or N64 mode
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | property-invalid-type.mm | 26 @property (nonnull) auto a; // expected-error {{'auto' not allowed in interface member}} 27 @property auto b; // expected-error {{'auto' not allowed in interface member}} 28 @property (nullable) auto c; // expected-error {{'auto' not allowed in interface member}} 32 @property (nonnull) auto catprop; // expected-error {{'auto' not allowed in interface member}}
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | definitions-in-headers.rst | 36 // OK: inline function definition is allowed to be defined multiple times. 43 int f1() { return 1; } // OK: implicitly inline member function definition is allowed. 52 // OK: class static data member declaration is allowed. 55 // OK: function template is allowed. 62 // Warning: full specialization of a function template is not allowed. 74 // OK: member function definition of a class template is allowed.
|
| /llvm-project-15.0.7/llvm/include/llvm/Frontend/Directive/ |
| H A D | DirectiveBase.td | 47 // EnumSet class name used for clauses to generated the allowed clauses map. 89 // Name of enum when there is a list of allowed clause values. 92 // List of allowed clause values 139 // Clauses cannot appear twice in the three allowed lists below. Also, since 140 // required implies allowed, the same clause cannot appear in both the 143 // List of allowed clauses for the directive. 146 // List of clauses that are allowed to appear only once. 149 // List of clauses that are allowed but mutually exclusive.
|
| /llvm-project-15.0.7/llvm/test/MC/ARM/ |
| H A D | directive-arch_extension-sec.s | 15 @ CHECK-V6: error: architectural extension 'sec' is not allowed for the current base architecture 18 @ CHECK-V7-NOT: error: architectural extension 'sec' is not allowed for the current base architectu… 26 @ CHECK-V6: error: architectural extension 'sec' is not allowed for the current base architecture 29 @ CHECK-V7-NOT: error: architectural extension 'sec' is not allowed for the current base architectu…
|
| H A D | directive-arch_extension-idiv.s | 17 @ CHECK-V6: error: architectural extension 'idiv' is not allowed for the current base architecture 20 @ CHECK-V7M: error: architectural extension 'idiv' is not allowed for the current base architecture 34 @ CHECK-V6: error: architectural extension 'idiv' is not allowed for the current base architecture 37 @ CHECK-V7M: error: architectural extension 'idiv' is not allowed for the current base architecture
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | attributes.mm | 16 @interface EXP I @end // expected-error {{postfix attributes are not allowed on Objective-C directi… 19 @implementation EXP I @end // expected-error-re {{postfix attributes are not allowed on Objective-C… 22 @class EXP OC; // expected-error-re {{postfix attributes are not allowed on Objective-C directives{… 25 @protocol EXP P @end // expected-error {{postfix attributes are not allowed on Objective-C directiv…
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | unaligned-01.ll | 1 ; Check that unaligned accesses are allowed in general. We check the 22 ; Check that unaligned 2-byte accesses are allowed. 33 ; Check that unaligned 4-byte accesses are allowed. 47 ; Check that unaligned 8-byte accesses are allowed.
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | attr.cpp | 16 void Attrs::CheckValid(const Attrs &allowed) const { in CheckValid() 17 if (!allowed.HasAll(*this)) { in CheckValid()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/llvmlibc/ |
| H A D | implementation-in-namespace.rst | 14 // Namespaces within __llvm_libc namespace are allowed. 18 // Functions with C linkage are allowed.
|
| /llvm-project-15.0.7/libc/docs/ |
| H A D | clang_tidy_checks.rst | 22 #include <stdio.h> // Not allowed because it is part of system libc. 43 // Namespaces within __llvm_libc namespace are allowed. 47 // Functions with C linkage are allowed. 85 // Bare calls are allowed as long as they resolve to the correct namespace.
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | multiple-resource-objs.test | 8 TWOOBJ: error: {{.*}}_resource.obj: more than one resource obj file not allowed, already got {{.*}}… 13 …l .obj file created from .res files: more than one resource obj file not allowed, already got {{.*…
|