| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | arc-type-conversion.mm | 74 … expected-error{{reinterpret_cast from '__weak id const *' to '__weak id *' casts away qualifiers}} 81 // C-style casts aren't allowed to change Objective-C ownership 84 …)wip; // expected-error{{C-style cast from '__weak id *' to '__strong id *' casts away qualifiers}} 85 …// expected-error{{C-style cast from '__weak id const *' to '__strong id *' casts away qualifiers}} 86 …)sip; // expected-error{{C-style cast from '__strong id *' to '__weak id *' casts away qualifiers}} 87 …// expected-error{{C-style cast from '__strong id const *' to '__weak id *' casts away qualifiers}} 89 …// expected-error{{C-style cast from '__weak id *' to '__strong id const *' casts away qualifiers}} 90 …ected-error{{C-style cast from '__weak id const *' to '__strong id const *' casts away qualifiers}} 91 …// expected-error{{C-style cast from '__strong id *' to '__weak id const *' casts away qualifiers}} 92 …ected-error{{C-style cast from '__strong id const *' to '__weak id const *' casts away qualifiers}} [all …]
|
| H A D | old-style-cast.mm | 4 // We don't currently have a way to write ARC/C++ bridge casts in terms of C++ 5 // casts, so ensure we don't emit an old-style-cast warning in these cases.
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | illegal-nonarc-bridged-cast.m | 20 …ransfer id)CFCreateSomething(); // expected-warning {{'__bridge_transfer' casts have no effect whe… 21 …fer NSString*)CFCreateString(); // expected-warning {{'__bridge_transfer' casts have no effect whe… 28 …ed CFTypeRef)CreateSomething(); // expected-warning {{'__bridge_retained' casts have no effect whe… 29 …d CFStringRef)CreateNSString(); // expected-warning {{'__bridge_retained' casts have no effect whe… 39 #pragma clang diagnostic ignored "-Warc-bridge-casts-disallowed-in-nonarc"
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/Vector/GPU/CUDA/ |
| H A D | test-warp-distribute.mlir | 6 // RUN: -pass-pipeline='gpu.module(strip-debuginfo,convert-gpu-to-nvvm,reconcile-unrealized-casts,… 7 // RUN: -gpu-to-llvm -reconcile-unrealized-casts |\ 19 // RUN: -pass-pipeline='gpu.module(strip-debuginfo,convert-gpu-to-nvvm,reconcile-unrealized-casts,… 20 // RUN: -gpu-to-llvm -reconcile-unrealized-casts |\ 31 // RUN: -pass-pipeline='gpu.module(strip-debuginfo,convert-gpu-to-nvvm,reconcile-unrealized-casts,… 32 // RUN: -gpu-to-llvm -reconcile-unrealized-casts |\
|
| H A D | test-reduction-distribute.mlir | 5 // RUN: -pass-pipeline='gpu.module(strip-debuginfo,convert-gpu-to-nvvm,reconcile-unrealized-casts,… 6 // RUN: -gpu-to-llvm -reconcile-unrealized-casts |\
|
| /llvm-project-15.0.7/clang/test/Analysis/Checkers/WebKit/ |
| H A D | call-args.cpp | 69 namespace casts { namespace 167 namespace casts { namespace 207 namespace casts { namespace 251 namespace casts { namespace
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/ |
| H A D | no-int-to-ptr.rst | 14 So while (integral) pointer to integer casts are effectively no-ops, 15 and are transparent to the optimizer, integer to (integral) pointer casts 28 …return (char*)aligned_intptr; // warning: avoid integer to pointer casts [performance-no-int-to-pt…
|
| /llvm-project-15.0.7/mlir/test/Dialect/Builtin/ |
| H A D | canonicalize.mlir | 7 // Test folding conversion casts feeding into other casts.
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | casts.m | 4 // Test function pointer casts. 15 // Test casts from void* to function pointers.
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | cast_ptr.ll | 2 ; Tests to make sure elimination of casts is working correctly 26 ; These casts should be folded away. 39 ; These casts should be folded away. 52 ; These casts should be folded away. 65 ; These casts should not be folded away. 80 ; These casts should not be folded away. 94 ; These casts should also be folded away.
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
| H A D | pro-type-cstyle-cast.rst | 6 This check flags all use of C-style casts that perform a ``static_cast`` 9 Use of these casts can violate type safety and cause the program to access a
|
| /llvm-project-15.0.7/mlir/test/mlir-cpu-runner/ |
| H A D | utils.mlir | 1 …-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | mlir-cpu-runner… 2 …-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | mlir-cpu-runner… 3 …-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | mlir-cpu-runner… 4 …-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | mlir-cpu-runner…
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | misplaced-widening-cast.rst | 35 Implicit casts 65 If `true`, enables detection of implicit casts. Default is `false`.
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/Linalg/CPU/ |
| H A D | test-tensor-matmul.mlir | 4 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \ 13 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
| H A D | test-conv-1d-call.mlir | 1 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \ 7 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
| H A D | test-conv-2d-call.mlir | 1 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \ 7 …e -convert-scf-to-cf --convert-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/ |
| H A D | simplify-boolean-expr.rst | 47 5. Implicit casts to ``bool`` are replaced with explicit casts to ``bool``. 49 are replaced with explicit casts to ``bool``.
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/Async/CPU/ |
| H A D | test-async-parallel-for-1d.mlir | 11 // RUN: -reconcile-unrealized-casts \ 27 // RUN: -reconcile-unrealized-casts \ 46 // RUN: -reconcile-unrealized-casts \
|
| H A D | microbench-scf-async-parallel-for.mlir | 14 // RUN: -reconcile-unrealized-casts \ 35 // RUN: -reconcile-unrealized-casts \ 49 // RUN: -reconcile-unrealized-casts \
|
| H A D | test-async-parallel-for-2d.mlir | 10 // RUN: -reconcile-unrealized-casts \ 25 // RUN: -reconcile-unrealized-casts \ 43 // RUN: -reconcile-unrealized-casts \
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/ |
| H A D | optin.osx.OSObjectCStyleCast.rst | 6 Checker for C-style casts of OSObjects
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/Vector/CPU/ |
| H A D | test-transfer-read-3d.mlir | 1 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \ 6 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \ 11 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \ 16 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
|
| H A D | test-transfer-read-2d.mlir | 1 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \ 6 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \ 11 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \ 16 …,convert-vector-to-llvm,convert-memref-to-llvm,convert-func-to-llvm,reconcile-unrealized-casts" | \
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | use-auto.rst | 163 ``reinterpret_cast``, functional casts, C-style casts and function templates 164 that behave as casts, such as ``llvm::dyn_cast``, ``boost::lexical_cast`` and 166 casts if the first template argument is explicit and is a type, and the function
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/vect/ |
| H A D | vect-infloop.ll | 1 ; Extracted from test/CodeGen/Generic/vector-casts.ll: used to loop indefinitely.
|