| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | RecordOps.cpp | 22 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 D | SmartPointerAccessorCaching.cpp | 37 if (!RT.isNull() && RT->isReferenceType()) { in valueLikeReturnType() 191 MD->getNumParams() == 0 && MD->getReturnType()->isReferenceType()) { in getCanonicalSmartPointerLikeOperatorCallee()
|
| H A D | DataflowEnvironment.cpp | 854 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 D | CheckExprLifetime.cpp | 370 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 D | SemaTypeTraits.cpp | 197 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 D | SmartPointerAccessorCaching.h | 128 assert(CanonicalCallee->getReturnType()->isReferenceType() && in transferSmartPointerLikeCachedDeref() 129 Callee->getReturnType()->isReferenceType()); in transferSmartPointerLikeCachedDeref()
|
| H A D | DataflowEnvironment.h | 390 !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 D | CachedConstAccessorsLattice.h | 177 assert(!Type->isReferenceType()); in getOrCreateConstMethodReturnValue() 202 assert(Type->isReferenceType() || Type->isRecordType()); in getOrCreateConstMethodReturnStorageLocation()
|
| H A D | DataflowAnalysisContext.h | 201 if (Entry.getValue()->isReferenceType()) in getSyntheticFields()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastValueChecker.cpp | 220 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 D | CastToStructChecker.cpp | 83 if (!VD || VD->getType()->isReferenceType()) in VisitCastExpr()
|
| H A D | DereferenceChecker.cpp | 157 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference() 342 if (!TVR->getValueType()->isReferenceType()) in checkBind()
|
| H A D | BuiltinFunctionChecker.cpp | 240 !RetTy->isPointerType() && !RetTy->isReferenceType()) in isBuiltinLikeFunction() 244 !ParmTy->isPointerType() && !ParmTy->isReferenceType()) in isBuiltinLikeFunction()
|
| H A D | CallAndMessageChecker.cpp | 207 } 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 D | SMTConv.h | 271 (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 D | SValBuilder.h | 351 type->isReferenceType()) && in makeNullWithType() 357 type = type->isReferenceType() in makeNullWithType()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | PtrTypesSemantics.cpp | 337 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 D | BodyFarm.cpp | 183 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 D | FixitUtil.cpp | 103 assert(Ty->isReferenceType() && in getPointee2TypeText()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicType.cpp | 69 while (Ty->isReferenceType() || Ty->isPointerType()) in unbox() 119 assert((CastToTy->isAnyPointerType() || CastToTy->isReferenceType()) && in setDynamicTypeAndCastInfo()
|
| H A D | SValBuilder.cpp | 708 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 D | LoopUnrolling.cpp | 190 return FD->getType()->isReferenceType(); in isCapturedByReference() 221 (IsRefParamOrCapture && VD->getType()->isReferenceType())) in isPossiblyEscaped()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprAggregate.cpp | 243 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 D | UninitializedObject.h | 331 return T->isAnyPointerType() || T->isReferenceType(); in isDereferencableType()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprClassification.cpp | 38 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()
|