| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/ |
| H A D | readability-casting.rst | 1 .. title:: clang-tidy - google-readability-casting 3 google-readability-casting 10 Corresponding cpplint.py check name: `readability/casting`.
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/ |
| H A D | explicit-conversions.rst | 9 Used to enforce parts of `rule 5.4.1 <http://www.codingstandard.com/rule/5-4-1-only-use-casting-for… 11 Other forms of casting checks are implemented in other places. 12 The following checks can be used to check for more forms of casting:
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | address-spaces.cl | 40 // expected-error@-2 {{casting '__local int *' to type '__global int *' changes address space of po… 46 // expected-error@-2 {{casting '__constant int *' to type '__global int *' changes address space of… 58 // expected-error@-2 {{casting '__private int *' to type '__global int *' changes address space of … 64 // expected-error@-2 {{casting '__global int *' to type '__local int *' changes address space of po… 70 // expected-error@-2 {{casting '__constant int *' to type '__local int *' changes address space of … 82 // expected-error@-2 {{casting '__private int *' to type '__local int *' changes address space of p… 88 // expected-error@-2 {{casting '__global int *' to type '__constant int *' changes address space of… 94 // expected-error@-2 {{casting '__local int *' to type '__constant int *' changes address space of … 100 // expected-error@-2 {{casting '__private int *' to type '__constant int *' changes address space o… 106 // expected-error@-2 {{casting '__global int *' to type '__private int *' changes address space of … [all …]
|
| H A D | address-spaces-conversions-cl2.0.cl | 141 // expected-error@-3{{casting '__global int *' to type '__constant int *' changes address space of … 150 // expected-error-re@-3{{casting '__local int *' to type '__{{global|constant}} int *' changes addr… 159 // expected-error-re@-3{{casting '__constant int *' to type '__{{global|generic}} int *' changes ad… 168 // expected-error-re@-3{{casting '__private int *' to type '__{{global|constant}} int *' changes ad… 177 // expected-error@-3{{casting '__generic int *' to type '__constant int *' changes address space of… 232 // expected-error@-3{{casting '__global int *' to type '__constant int *' changes address space of … 241 // expected-error-re@-3{{casting '__local int *' to type '__{{global|constant}} int *' changes addr… 250 // expected-error-re@-3{{casting '__constant int *' to type '__{{global|generic}} int *' changes ad… 259 // expected-error-re@-3{{casting '__private int *' to type '__{{global|constant}} int *' changes ad… 268 // expected-error@-3{{casting '__generic int *' to type '__constant int *' changes address space of… [all …]
|
| H A D | vector-conv.cl | 19 …private int4 *private_ptr = (const private int4 *)const_global_ptr; // expected-error{{casting 'co…
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | call-promotion-utils-ptrcast-attribute.ll | 8 ; casting to i64 and pointer attribute at callsite dropped. 13 ; no casting needed, attribute at callsite preserved.
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/ |
| H A D | no-int-to-ptr.rst | 8 While casting an (integral) pointer to an integer is obvious - you just get 9 the integral value of the pointer, casting an integer to an (integral) pointer
|
| /llvm-project-15.0.7/llvm/docs/HistoricalNotes/ |
| H A D | 2002-06-25-MegaPatchInfo.txt | 2 * Change the casting code to be const correct. Now, doing this is invalid: 8 * Change the casting code to allow casting a reference value thus:
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/IR/ |
| H A D | LinalgNamedStructuredOps.yaml | 10 Numeric casting is performed on the input operand, promoting it to the same 51 Numeric casting is performed on the input operand, promoting it to the same 101 Numeric casting is performed on the input operand, promoting it to the same 165 Numeric casting is performed on the operands to the inner multiply, promoting 237 Numeric casting is performed on the operands to the inner multiply, promoting 305 Numeric casting is performed on the operands to the inner multiply, promoting 488 Numeric casting is performed on the operands to the inner multiply, promoting 557 Numeric casting is performed on the operands to the inner multiply, promoting 662 Numeric casting is performed on the operands to the inner multiply, promoting 729 Numeric casting is performed on the operands to the inner multiply, promoting [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | ptrtoint-constexpr-invalid.ll | 4 ; A frontend can achieve a similar result by casting to the correct integer
|
| /llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/ |
| H A D | evaluate-call.ll | 4 ; We evaluate call to function @_ZL3fooP3Foo casting both parameter and return value 7 ; We evaluate call to function _ZL3bazP3Foo casting its parameter and check that evaluated value (n…
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/abseil/ |
| H A D | duration-factory-float.rst | 25 // Original - Explicitly casting to a floating-point type.
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | function-bitcasts-varargs.ll | 3 ; Test that function pointer casts casting away varargs are replaced with
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | deprecated-objc-introspection.m | 39 …receiver type 'struct objc_class *' is not 'id' or interface pointer, consider casting it to 'id'}} 41 …receiver type 'struct objc_class *' is not 'id' or interface pointer, consider casting it to 'id'}}
|
| H A D | related-result-type-inference.m | 178 return (id)self; // expected-warning {{casting 'Fail *' to incompatible type 'id<X>'}} 200 …return filterVC; // expected-warning {{incompatible pointer types casting 'UIViewController *' to …
|
| H A D | matrix-type-builtins.m | 30 …// expected-error@-2 {{casting 'double4x4' (aka 'double __attribute__((matrix_type(4, 4)))') to in…
|
| H A D | message.m | 98 …eceiver type 'struct objc_object *' is not 'id' or interface pointer, consider casting it to 'id'}}
|
| /llvm-project-15.0.7/llvm/test/Transforms/SROA/ |
| H A D | mem-par-metadata-sroa-cast.ll | 5 ; Ensure this is done for casting too.
|
| /llvm-project-15.0.7/llvm/test/Analysis/ValueTracking/ |
| H A D | known-bits-from-operator-constexpr.ll | 5 ; casting from llvm::Operator to ExtractElementInst. That does not work
|
| /llvm-project-15.0.7/llvm/test/FileCheck/ |
| H A D | bad-char.txt | 3 # FileCheck used to call functions like isalnum on each without casting to
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Generic/ |
| H A D | 2003-05-30-BadFoldGEP.ll | 8 ;; causing an assertion about a dynamic casting error.
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | valist-unterminated.c | 143 void casting(int fst, ...) { in casting() function
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/AArch64/ |
| H A D | loopvectorize_pr33804_double.ll | 63 ; This test check for integer to pointer casting with load instructions. 87 ; This test check for pointer to integer casting with load instructions.
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | arc-bridged-cast.mm | 21 …(__bridge IntPtrType)CFCreateSomething(); // expected-error{{incompatible types casting 'CFTypeRef…
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | objcmt-boxing.m.result | 85 …Double:cppb]; // expected-warning {{converting to boxing syntax requires casting 'bool' to 'double…
|