Home
last modified time | relevance | path

Searched refs:isReferenceType (Results 1 – 25 of 88) sorted by relevance

1234

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h266 (FromTy->isReferenceType() ^ ToTy->isReferenceType())) { in fromCast()
473 Ty->isBlockPointerType() || Ty->isReferenceType()) { in getZeroExpr()
576 (LTy->isReferenceType() || RTy->isReferenceType())) { in doTypeConversion()
587 (LTy->isReferenceType() ^ RTy->isReferenceType())) { in doTypeConversion()
589 LTy->isReferenceType()) { in doTypeConversion()
H A DSVals.h329 T->isReferenceType() || T->isNullPtrType(); in isLocType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDereferenceChecker.cpp116 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference()
258 if (!TVR->getValueType()->isReferenceType()) in checkBind()
H A DReturnUndefChecker.cpp75 if (RT->isReferenceType()) { in checkPreStmt()
H A DCastToStructChecker.cpp84 if (!VD || VD->getType()->isReferenceType()) in VisitCastExpr()
H A DCallAndMessageChecker.cpp171 } else if (ParamDecl->getType()->isReferenceType()) { in uninitRefOrPointer()
528 if (ResTy->isReferenceType()) { in emitNilReceiverBug()
577 if (CanRetTy.getTypePtr()->isReferenceType()|| in HandleNilReceiver()
H A DNonNullParamChecker.cpp85 HasParam ? parms[idx]->getType()->isReferenceType() : false; in checkPreCall()
H A DInnerPointerChecker.cpp161 if (!ParamTy->isReferenceType() || in checkFunctionArguments()
H A DDeadStoresChecker.cpp440 if (FD->getType()->isReferenceType()) in findLambdaReferenceCaptures()
H A DNullabilityChecker.cpp668 !Param->getType()->isReferenceType()) in checkPreCall()
725 Param->getType()->isReferenceType()) { in checkPreCall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp330 if (!Callback->getType()->isReferenceType()) { in create_call_once()
334 if (!Flag->getType()->isReferenceType()) { in create_call_once()
423 if (!CallbackFunctionType->getParamType(ParamIdx - 2)->isReferenceType()) { in create_call_once()
797 if (!Prop->getType()->isReferenceType()) in createObjCPropertyGetter()
H A DConsumed.cpp145 if (QT->isPointerType() || QT->isReferenceType()) in isConsumableType()
155 if (QT->isPointerType() || QT->isReferenceType()) in isAutoCastType()
191 return ParamType->isPointerType() || ParamType->isReferenceType(); in isPointerOrRef()
688 if (RetType->isReferenceType()) in propagateReturnType()
869 else if (ParamType->isReferenceType() && in VisitParmVarDecl()
H A DLiveVariables.cpp369 return VD && !VD->getType()->isReferenceType() && in writeShouldKill()
386 Killed = !BD->getType()->isReferenceType(); in VisitBinaryOperator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp98 if (QTy->isReferenceType()) in isValidBaseType()
161 if (Ty->isPointerType() || Ty->isReferenceType()) in getTypeInfoHelper()
H A DCGCoroutine.cpp304 assert(getCoroutineSuspendExprReturnType(getContext(), E)->isReferenceType() && in EmitCoawaitLValue()
314 assert(getCoroutineSuspendExprReturnType(getContext(), E)->isReferenceType() && in EmitCoyieldLValue()
H A DCGDeclCXX.cpp33 assert(!D.getType()->isReferenceType() && in EmitDeclInit()
194 if (!T->isReferenceType()) { in EmitCXXGlobalVarDeclInit()
H A DCGExpr.cpp1372 assert(!type->isReferenceType()); in isConstantEmittableObjectType()
2368 LValue LV = VD->getType()->isReferenceType() ? in EmitGlobalVarDeclLValue()
2490 if (VD->getType()->isReferenceType()) in EmitDeclRefLValue()
2563 LValue LV = VD->getType()->isReferenceType() ? in EmitDeclRefLValue()
2570 !VD->getType()->isReferenceType() && in EmitDeclRefLValue()
3939 assert(!FieldType->isReferenceType() && "union has reference member"); in EmitLValueForField()
3951 if (FieldType->isReferenceType()) { in EmitLValueForField()
3989 if (!FieldType->isReferenceType()) in EmitLValueForFieldInitialization()
4340 if (FD->getType()->isReferenceType()) in EmitRValueForField()
4507 assert(E->getCallReturnType(getContext())->isReferenceType() && in EmitCallExprLValue()
[all …]
H A DCGExprAgg.cpp864 if (E->getCallReturnType(CGF.getContext())->isReferenceType()) { in VisitCallExpr()
1330 } else if (type->isReferenceType()) { in EmitInitializationToLValue()
1711 if (Field->getType()->isReferenceType()) in GetNumNonZeroBytesInInit()
H A DCGOpenMPRuntimeNVPTX.cpp333 if (!FD->getType()->isReferenceType()) { in markAsEscaped()
344 VD->getType()->isReferenceType()) in markAsEscaped()
747 VD->getType()->isReferenceType()) && in getSingleCompoundChild()
3976 if (!NativeParam->getType()->isReferenceType()) in translateParameter()
4010 NativeParam->getType()->isReferenceType() && in getParameterAddress()
4344 if (VD->getType().getCanonicalType()->isReferenceType()) in adjustTargetSpecificDataForLambdas()
4368 if (VD->getType().getCanonicalType()->isReferenceType()) in adjustTargetSpecificDataForLambdas()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprClassification.cpp39 assert(!TR->isReferenceType() && "Expressions can't have reference type."); in ClassifyImpl()
443 islvalue = NTTParm->getType()->isReferenceType(); in ClassifyDecl()
499 if (Value->getType()->isReferenceType()) in ClassifyMemberExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObject.h324 return T->isAnyPointerType() || T->isReferenceType(); in isDereferencableType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp593 if (castTy->isPointerType() || castTy->isReferenceType()) in evalCast()
643 originalTy->isBlockPointerType() || castTy->isReferenceType()); in evalCast()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp586 if (Field->getType()->isReferenceType()) { in FillInEmptyInitForField()
1188 } else if (DeclType->isReferenceType()) { in CheckListElementTypes()
1215 if (ElemType->isReferenceType()) in CheckSubElementType()
4112 if (DestType->isReferenceType()) { in TryListInitialization()
5441 if (DestType->isReferenceType()) { in InitializeFrom()
6610 if (!VD->getType()->isReferenceType()) { in visitLocalsRetainedByReferenceBinding()
6793 if (I->getType()->isReferenceType()) in visitLocalsRetainedByInitializer()
7103 << VD->getType()->isReferenceType() in checkInitializerLifetime()
8145 if (T->isReferenceType()) { in DiagnoseUninitializedReference()
8215 if (DestType->isReferenceType()) { in diagnoseListInit()
[all …]
H A DSemaExprCXX.cpp589 if (QT->isPointerType() || QT->isReferenceType()) in getUuidAttrOfType()
2205 else if (AllocType->isReferenceType()) in CheckAllocatedType()
3909 assert(!ToType->isReferenceType()); in PerformImplicitConversion()
4287 ToType->isReferenceType() ? From->getValueKind() : VK_RValue; in PerformImplicitConversion()
4291 if (ToType->isReferenceType() && in PerformImplicitConversion()
4537 return T->isReferenceType(); in EvaluateUnaryTypeTrait()
4658 if (T.isPODType(C) || T->isReferenceType()) in EvaluateUnaryTypeTrait()
4699 if (T->isReferenceType()) in EvaluateUnaryTypeTrait()
4750 if (T.isPODType(C) || T->isReferenceType()) in EvaluateUnaryTypeTrait()
4772 if (T->isReferenceType()) in EvaluateUnaryTypeTrait()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h821 while (STy->isPointerType() || STy->isReferenceType()) in getNumParams()

1234