Home
last modified time | relevance | path

Searched refs:casts (Results 1 – 25 of 85) sorted by relevance

1234

/external/clang/test/SemaObjCXX/
Darc-type-conversion.mm9 …d*)arg; // expected-error{{C-style cast from 'id' to '__autoreleasing id *' casts away qualifiers}}
10 …(void)(id*)arg; // expected-error{{C-style cast from 'id' to '__strong id *' casts away qualifiers…
73 …ected-error{{reinterpret_cast from '__strong id const *' to '__strong id *' casts away qualifiers}}
74 … expected-error{{reinterpret_cast from '__weak id const *' to '__weak id *' casts away qualifiers}}
75 …xpected-error{{reinterpret_cast from '__strong id const *' to '__weak id *' casts away qualifiers}}
76 …xpected-error{{reinterpret_cast from '__weak id const *' to '__strong 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}}
[all …]
Dold-style-cast.mm4 // 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.
/external/clang/test/SemaObjC/
Dillegal-nonarc-bridged-cast.m19 …ransfer id)CFCreateSomething(); // expected-warning {{'__bridge_transfer' casts have no effect whe…
20 …fer NSString*)CFCreateString(); // expected-warning {{'__bridge_transfer' casts have no effect whe…
27 …ed CFTypeRef)CreateSomething(); // expected-warning {{'__bridge_retained' casts have no effect whe…
28 …d CFStringRef)CreateNSString(); // expected-warning {{'__bridge_retained' casts have no effect whe…
38 #pragma clang diagnostic ignored "-Warc-bridge-casts-disallowed-in-nonarc"
Dcomptypes-2.m21 /* All these casts should generate no warnings. */
/external/llvm/test/Transforms/InstCombine/
Dcast_ptr.ll1 ; Tests to make sure elimination of casts is working correctly
22 ; These casts should be folded away.
32 ; These casts should be folded away.
42 ; These casts should be folded away.
52 ; These casts should not be folded away.
62 ; These casts should not be folded away.
72 ; These casts should also be folded away.
Dapint-zext2.ll1 ; Tests to make sure elimination of casts is working correctly
Dapint-zext1.ll1 ; Tests to make sure elimination of casts is working correctly
Dnarrow.ll6 ; test1 - Eliminating the casts in this testcase (by narrowing the AND
Dapint-cast.ll1 ; Tests to make sure elimination of casts is working correctly
Dzext.ll1 ; Tests to make sure elimination of casts is working correctly
/external/clang/test/Analysis/
Dcasts.m4 // Test function pointer casts.
15 // Test casts from void* to function pointers.
Dmisc-ps-arm.m4 // <rdar://problem/11405978> - Handle casts of vectors to structs, and loading
Dmisc-ps-64.m30 // OSAtomicCompareAndSwap64Barrier, which doesn't have special casts
Dmisc-ps.m324 // Test that we handle casts of string literals to arbitrary types.
333 // Test that we handle casts *from* incomplete struct types.
351 // Handle casts of function pointers (CodeTextRegions) to arbitrary pointer
457 // This case tests that CastRegion handles casts involving BlockPointerTypes.
493 // PR 4594 - This was a crash when handling casts in SimpleSValuator.
519 // This resulted from not properly handling region casts to 'const void*'.
863 // Handle casts from symbolic regions (packaged as integers) to doubles.
890 // Handle casts of a function to a function pointer with a different return
904 // Same as previous case, but handle casts to 'void'.
/external/deqp/data/gles3/shaders/
Dnegative.test3 group c_cast "C-style casts"
100 end # casts
/external/clang/docs/
DControlFlowIntegrity.rst64 This scheme checks that pointer casts are made to an object of the correct
69 Bad casts are not in themselves control flow integrity violations, but they
73 There are two types of bad cast that may be forbidden: bad casts
75 ``-fsanitize=cfi-derived-cast``), and bad casts from a pointer of
79 The difference between these two types of casts is that the first is defined
123 its base. By default, casts to such classes are checked as if they were made
/external/llvm/test/CodeGen/Hexagon/vect/
Dvect-packhl.ll1 ; Extracted from test/CodeGen/Generic/vector-casts.ll: used to loop indefinitely.
/external/llvm/test/Analysis/CostModel/ARM/
Dselect.ll5 ; CHECK: casts
6 define void @casts() {
/external/llvm/test/Assembler/
DConstantExprFoldCast.ll8 @C = global i32 trunc (i64 42 to i32) ; Integral casts
/external/clang/test/CodeGenOpenCL/
Daddress-spaces-conversions.cl3 // test that we generate address space casts everywhere we need conversions of
/external/clang/test/Index/
Dload-stmts.cpp116 void casts(int *ip) { in casts() function
/external/llvm/test/Transforms/LoopSimplify/
Dmerge-exits.ll6 ; without needing casts.
/external/llvm/test/Analysis/ScalarEvolution/
Dmax-trip-count-address-space.ll3 ; ScalarEvolution should be able to understand the loop and eliminate the casts.
Dtrip-count5.ll6 ; value sufficient to fold away both sext casts.
/external/llvm/test/Integer/
Dconstexpr_bt.ll46 ;; getelementptr containing casts

1234