Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DRecordOps.cpp22 assert(Field.getType()->isReferenceType() || in copyField()
28 } else if (Field.getType()->isReferenceType()) { in copyField()
103 assert(Field->getType()->isReferenceType() || in recordsEqual()
110 } else if (Field->getType()->isReferenceType()) { in recordsEqual()
H A DSmartPointerAccessorCaching.cpp37 if (!RT.isNull() && RT->isReferenceType()) { in valueLikeReturnType()
191 MD->getNumParams() == 0 && MD->getReturnType()->isReferenceType()) { in getCanonicalSmartPointerLikeOperatorCallee()
H A DDataflowEnvironment.cpp854 assert(D.getType()->isReferenceType() || isa<BindingDecl>(D) || in setStorageLocation()
980 assert(!Type->isReferenceType()); in createValueUnlessSelfReferential()
1065 if (FieldType->isReferenceType()) { in initializeFieldsWithValues()
1078 assert(!FieldType->isReferenceType()); in initializeFieldsWithValues()
1086 if (Ty->isReferenceType()) { in createObjectInternal()
1176 if (Func->getReturnType()->isReferenceType()) { in dump()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp370 if (Callee->getReturnType()->isReferenceType()) { in shouldTrackImplicitObjectArg()
401 if (FD->getReturnType()->isReferenceType()) { in shouldTrackFirstArgument()
601 if (ReturnType->isReferenceType() && in visitFunctionCallArguments()
613 Path.push_back({ReturnType->isReferenceType() in visitFunctionCallArguments()
760 F && !F->getType()->isReferenceType()) in visitLocalsRetainedByReferenceBinding()
775 if (!VD->getType()->isReferenceType()) { in visitLocalsRetainedByReferenceBinding()
957 ILE->getInitializedFieldInUnion()->getType()->isReferenceType()) in visitLocalsRetainedByInitializer()
971 if (I->getType()->isReferenceType()) in visitLocalsRetainedByInitializer()
1210 FD && !FD->getType()->isReferenceType() && in analyzePathForGSLPointer()
1470 bool IsPointer = !Member->getType()->isReferenceType(); in checkExprLifetimeImpl()
[all …]
H A DSemaTypeTraits.cpp197 if (Field->getType()->isReferenceType()) in IsEligibleForTrivialRelocation()
629 if (!ParamT->isReferenceType() && !Decl->isTriviallyCopyable()) in HasNonDeletedDefaultedEqualityComparison()
649 if (Type->isReferenceType() || Type->isEnumeralType()) in HasNonDeletedDefaultedEqualityComparison()
767 return T->isReferenceType(); in EvaluateUnaryTypeTrait()
894 if (T.isPODType(C) || T->isReferenceType()) in EvaluateUnaryTypeTrait()
936 if (T->isReferenceType()) in EvaluateUnaryTypeTrait()
986 if (T.isPODType(C) || T->isReferenceType()) in EvaluateUnaryTypeTrait()
1008 if (T->isReferenceType()) in EvaluateUnaryTypeTrait()
1038 if (T.isPODType(C) || T->isReferenceType() || T->isObjCLifetimeType()) in EvaluateUnaryTypeTrait()
1413 if (!T->isReferenceType()) in EvaluateBooleanTypeTrait()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DSmartPointerAccessorCaching.h128 assert(CanonicalCallee->getReturnType()->isReferenceType() && in transferSmartPointerLikeCachedDeref()
129 Callee->getReturnType()->isReferenceType()); in transferSmartPointerLikeCachedDeref()
H A DDataflowEnvironment.h390 !getCurrentFunc()->getReturnType()->isReferenceType()); in getReturnValue()
403 getCurrentFunc()->getReturnType()->isReferenceType()); in getReturnStorageLocation()
414 !getCurrentFunc()->getReturnType()->isReferenceType()); in setReturnValue()
426 getCurrentFunc()->getReturnType()->isReferenceType()); in setReturnStorageLocation()
H A DCachedConstAccessorsLattice.h177 assert(!Type->isReferenceType()); in getOrCreateConstMethodReturnValue()
202 assert(Type->isReferenceType() || Type->isRecordType()); in getOrCreateConstMethodReturnStorageLocation()
H A DDataflowAnalysisContext.h201 if (Entry.getValue()->isReferenceType()) in getSyntheticFields()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp220 if (!CastFromTy->isReferenceType()) in addCastTransition()
284 if (MR && CastFromTy->isReferenceType()) in addInstanceOfTransition()
292 else if (CastFromTy->isReferenceType()) in addInstanceOfTransition()
485 !(ParamT->isReferenceType() && ResultT->isReferenceType())) { in evalCall()
H A DCastToStructChecker.cpp83 if (!VD || VD->getType()->isReferenceType()) in VisitCastExpr()
H A DDereferenceChecker.cpp157 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference()
342 if (!TVR->getValueType()->isReferenceType()) in checkBind()
H A DBuiltinFunctionChecker.cpp240 !RetTy->isPointerType() && !RetTy->isReferenceType()) in isBuiltinLikeFunction()
244 !ParmTy->isPointerType() && !ParmTy->isReferenceType()) in isBuiltinLikeFunction()
H A DCallAndMessageChecker.cpp207 } else if (ParamDecl->getType()->isReferenceType()) { in uninitRefOrPointer()
648 if (ResTy->isReferenceType()) { in emitNilReceiverBug()
697 if (CanRetTy.getTypePtr()->isReferenceType()|| in HandleNilReceiver()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h271 (FromTy->isReferenceType() ^ ToTy->isReferenceType())) { in fromCast()
515 Ty->isBlockPointerType() || Ty->isReferenceType()) { in getZeroExpr()
635 (LTy->isReferenceType() || RTy->isReferenceType())) { in doTypeConversion()
646 (LTy->isReferenceType() ^ RTy->isReferenceType())) { in doTypeConversion()
648 LTy->isReferenceType()) { in doTypeConversion()
H A DSValBuilder.h351 type->isReferenceType()) && in makeNullWithType()
357 type = type->isReferenceType() in makeNullWithType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp337 if (T->isPointerType() || T->isReferenceType()) { in isUncountedPtr()
345 if (T->isPointerType() || T->isReferenceType()) { in isUncheckedPtr()
353 if (T->isPointerType() || T->isReferenceType()) { in isUnsafePtr()
398 return T && (T->isPointerType() || T->isReferenceType()); in isGetterOfSafePtr()
406 return T && (T->isPointerType() || T->isReferenceType()); in isGetterOfSafePtr()
414 return T && (T->isPointerType() || T->isReferenceType() || in isGetterOfSafePtr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp183 assert(Ty->isReferenceType()); in makeReferenceCast()
358 if (!Callback->getType()->isReferenceType()) { in create_call_once()
362 if (!Flag->getType()->isReferenceType()) { in create_call_once()
451 if (!CallbackFunctionType->getParamType(ParamIdx - 2)->isReferenceType()) { in create_call_once()
859 if (!MD->getReturnType()->isReferenceType()) in createObjCPropertyGetter()
H A DFixitUtil.cpp103 assert(Ty->isReferenceType() && in getPointee2TypeText()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicType.cpp69 while (Ty->isReferenceType() || Ty->isPointerType()) in unbox()
119 assert((CastToTy->isAnyPointerType() || CastToTy->isReferenceType()) && in setDynamicTypeAndCastInfo()
H A DSValBuilder.cpp708 if (CastTy->isPointerType() || CastTy->isReferenceType()) in VisitGotoLabel()
738 if (!Ty->isReferenceType()) in VisitMemRegionVal()
818 if (CastTy->isPointerType() || CastTy->isReferenceType()) { in VisitMemRegionVal()
830 CastTy->isReferenceType()); in VisitMemRegionVal()
920 CastTy->isReferenceType()); in VisitLocAsInteger()
H A DLoopUnrolling.cpp190 return FD->getType()->isReferenceType(); in isCapturedByReference()
221 (IsRefParamOrCapture && VD->getType()->isReferenceType())) in isPossiblyEscaped()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprAggregate.cpp243 if (type->isReferenceType()) in emitInitializationToLValue()
299 if (e->getCallReturnType(cgf.getContext())->isReferenceType()) { in VisitCallExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObject.h331 return T->isAnyPointerType() || T->isReferenceType(); in isDereferencableType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp38 assert(!TR->isReferenceType() && "Expressions can't have reference type."); in ClassifyImpl()
507 islvalue = NTTParm->getType()->isReferenceType() || in ClassifyDecl()
563 if (Value->getType()->isReferenceType()) in ClassifyMemberExpr()

123456