Searched refs:getCastKind (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp54 if (castE->getCastKind() == CK_LValueToRValue)
56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() &&
H A DTransUnbridgedCasts.cpp88 if (E->getCastKind() != CK_CPointerToObjCPointerCast &&
89 E->getCastKind() != CK_BitCast &&
90 E->getCastKind() != CK_AnyPointerToBlockPointerCast)
394 if (implCE->getCastKind() == CK_ARCConsumeObject)
396 if (implCE->getCastKind() == CK_ARCReclaimReturnedObject)
H A DTransforms.cpp107 while (implCE && implCE->getCastKind() == CK_BitCast)
110 return implCE && implCE->getCastKind() == CK_ARCConsumeObject;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DEnumCastOutOfRangeChecker.cpp101 switch (CE->getCastKind()) {
H A DDeleteWithNonVirtualDtorChecker.cpp122 if (ImplCastE->getCastKind() != CK_DerivedToBase)
H A DPointerArithChecker.cpp259 if (CE->getCastKind() != CastKind::CK_BitCast)
277 if (CE->getCastKind() != CastKind::CK_ArrayToPointerDecay)
H A DDynamicTypeChecker.cpp157 if (CE->getCastKind() != CK_BitCast)
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.cpp235 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer ||
236 E->getCastKind() == CK_BaseToDerivedMemberPointer);
239 if (E->getCastKind() == CK_DerivedToBaseMemberPointer)
H A DCGExprAgg.cpp671 if (castE->getCastKind() == kind)
673 if (castE->getCastKind() == CK_NoOp)
683 switch (E->getCastKind()) {
745 bool isToAtomic = (E->getCastKind() == CK_NonAtomicToAtomic);
1109 if (cast->getCastKind() == CK_LValueToRValue)
1366 return ICE->getCastKind() == CK_NullToPointer &&
H A DItaniumCXXABI.cpp851 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer ||
852 E->getCastKind() == CK_BaseToDerivedMemberPointer ||
853 E->getCastKind() == CK_ReinterpretMemberPointer);
856 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src;
866 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer);
906 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer ||
907 E->getCastKind() == CK_BaseToDerivedMemberPointer ||
908 E->getCastKind() == CK_ReinterpretMemberPointer);
911 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src;
917 bool isDerivedToBase = (E->getCastKind()
[all...]
H A DMicrosoftCXXABI.cpp3107 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer ||
3108 E->getCastKind() == CK_BaseToDerivedMemberPointer ||
3109 E->getCastKind() == CK_ReinterpretMemberPointer);
3123 bool IsReinterpret = E->getCastKind() == CK_ReinterpretMemberPointer;
3155 SrcTy, DstTy, E->getCastKind(), E->path_begin(), E->path_end(), Src,
3317 CastKind CK = E->getCastKind();
H A DCGExpr.cpp938 if (CE->getCastKind() == CK_ArrayToPointerDecay &&
1052 switch (CE->getCastKind()) {
1088 CE->getCastKind() == CK_BitCast) {
1095 return CE->getCastKind() != CK_AddressSpaceConversion
3374 if (!CE || CE->getCastKind() != CK_ArrayToPointerDecay)
4364 switch (E->getCastKind()) {
4644 if (ICE->getCastKind() == CK_FunctionToPointerDecay ||
4645 ICE->getCastKind() == CK_BuiltinFnToFnPtr) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp84 if ((CE->getCastKind() == CK_DerivedToBase ||
85 CE->getCastKind() == CK_UncheckedDerivedToBase) &&
94 if (CE->getCastKind() == CK_NoOp) {
1775 switch (getCastKind()) {
1929 if (E->getCastKind() == CK_ConstructorConversion)
1932 else if (E->getCastKind() == CK_UserDefinedConversion) {
1953 if (E->getCastKind() == CK_ConstructorConversion)
1956 if (E->getCastKind() == CK_UserDefinedConversion) {
2686 if (CE->getCastKind() == CK_ToVoid) {
2703 if (CE->getCastKind()
[all...]
H A DExprCXX.cpp308 if (ICE->getCastKind() == CK_DerivedToBase ||
309 ICE->getCastKind() == CK_UncheckedDerivedToBase ||
310 ICE->getCastKind() == CK_NoOp) {
311 assert((ICE->getCastKind() == CK_NoOp ||
H A DExprConstant.cpp5366 if (ICE->getCastKind() == CK_NoOp)
5368 if (ICE->getCastKind() != CK_DerivedToBase &&
5369 ICE->getCastKind() != CK_UncheckedDerivedToBase)
7109 switch (E->getCastKind()) {
7325 switch (E->getCastKind()) {
7407 switch (E->getCastKind()) {
8003 switch (E->getCastKind()) {
8034 if (E->getCastKind() == CK_AddressSpaceConversion && Result.IsNullPtr)
8656 if (ICE->getCastKind() != CK_NoOp &&
8657 ICE->getCastKind() !
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h148 static Optional<CastKind> getCastKind(llvm::StringRef AttrKind) { function in struct:clang::ast_matchers::dynamic::internal::ArgTypeTraits
157 return Value.isString() && getCastKind(Value.getString());
161 return *getCastKind(Value.getString());
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp274 if (CastE->getCastKind() == CK_BooleanToSignedIntegral)
307 if (CastE->getCastKind() == CK_LValueToRValue) {
333 switch (CastE->getCastKind()) {
H A DSValBuilder.cpp339 switch (CE->getCastKind()) {
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp238 if (implicit_cast->getCastKind() != CK_LValueToRValue)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp300 if (CE->getCastKind() == CK_LValueBitCast) {
496 if (CE->getCastKind() == CK_LValueToRValue)
H A DThreadSafety.cpp1762 if (CE->getCastKind() == CK_ArrayToPointerDecay) {
1997 if (CE->getCastKind() != CK_LValueToRValue)
2146 if (ICE->getCastKind() == CK_NoOp)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp66 if (ICE->getCastKind() == CK_LValueToRValue)
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp92 switch (CE->getCastKind()) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp948 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast)
1002 switch (ICE->getCastKind()) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp277 if (Cast->getCastKind() == CK_NoOp ||
278 Cast->getCastKind() == CK_ConstructorConversion)
656 if (ImpCast->getCastKind() != CK_IntegralCast) break;
1478 if (E->getCastKind() == CK_LValueToRValue)
2806 if (CE->getCastKind() != CK_LValueToRValue)

Completed in 283 milliseconds

123