Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h269 (FromTy->isReferenceType() ^ ToTy->isReferenceType())) { in fromCast()
489 Ty->isBlockPointerType() || Ty->isReferenceType()) { in getZeroExpr()
594 (LTy->isReferenceType() || RTy->isReferenceType())) { in doTypeConversion()
605 (LTy->isReferenceType() ^ RTy->isReferenceType())) { in doTypeConversion()
607 LTy->isReferenceType()) { in doTypeConversion()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp219 if (!CastFromTy->isReferenceType()) in addCastTransition()
283 if (MR && CastFromTy->isReferenceType()) in addInstanceOfTransition()
291 else if (CastFromTy->isReferenceType()) in addInstanceOfTransition()
482 !(ParamT->isReferenceType() && ResultT->isReferenceType())) { in evalCall()
H A DDereferenceChecker.cpp119 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference()
264 if (!TVR->getValueType()->isReferenceType()) in checkBind()
H A DReturnUndefChecker.cpp74 if (RT->isReferenceType()) { in checkPreStmt()
H A DCastToStructChecker.cpp83 if (!VD || VD->getType()->isReferenceType()) in VisitCastExpr()
H A DCallAndMessageChecker.cpp210 } else if (ParamDecl->getType()->isReferenceType()) { in uninitRefOrPointer()
649 if (ResTy->isReferenceType()) { in emitNilReceiverBug()
699 if (CanRetTy.getTypePtr()->isReferenceType()|| in HandleNilReceiver()
H A DNonNullParamChecker.cpp126 HasParam ? parms[idx]->getType()->isReferenceType() : false; in checkPreCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp60 if (KernelParamTy->isReferenceType()) in GetSYCLKernelObjectType()
H A DSemaInit.cpp691 if (Field->getType()->isReferenceType()) { in FillInEmptyInitForField()
1318 } else if (DeclType->isReferenceType()) { in CheckListElementTypes()
1347 if (ElemType->isReferenceType()) in CheckSubElementType()
4371 if (DestType->isReferenceType()) { in TryListInitialization()
5760 if (DestType->isReferenceType()) { in InitializeFrom()
7144 if (!VD->getType()->isReferenceType()) { in visitLocalsRetainedByReferenceBinding()
7343 if (I->getType()->isReferenceType()) in visitLocalsRetainedByInitializer()
7779 << VD->getType()->isReferenceType() in checkInitializerLifetime()
8864 if (T->isReferenceType()) { in DiagnoseUninitializedReference()
8944 if (DestType->isReferenceType()) { in diagnoseListInit()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLambdaCapturesChecker.cpp86 assert(T->isReferenceType()); in reportBug()
H A DPtrTypesSemantics.cpp130 if (T->isPointerType() || T->isReferenceType()) { in isUncountedPtr()
H A DUncountedLocalVarsChecker.cpp64 if (T->isPointerType() || T->isReferenceType()) { in isRefcountedStringsHack()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp692 if (CastTy->isPointerType() || CastTy->isReferenceType()) in evalCastSubKind()
734 const llvm::APSInt &Zero = Ty->isReferenceType() in evalCastSubKind()
807 if (CastTy->isPointerType() || CastTy->isReferenceType()) { in evalCastSubKind()
819 CastTy->isReferenceType()); in evalCastSubKind()
917 CastTy->isReferenceType()); in evalCastSubKind()
H A DDynamicType.cpp70 while (Ty->isReferenceType() || Ty->isPointerType()) in unbox()
120 assert((CastToTy->isAnyPointerType() || CastToTy->isReferenceType()) && in setDynamicTypeAndCastInfo()
H A DLoopUnrolling.cpp187 return FD->getType()->isReferenceType(); in isCapturedByReference()
207 (IsRefParamOrCapture && VD->getType()->isReferenceType())) in isPossiblyEscaped()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp326 if (!Callback->getType()->isReferenceType()) { in create_call_once()
330 if (!Flag->getType()->isReferenceType()) { in create_call_once()
419 if (!CallbackFunctionType->getParamType(ParamIdx - 2)->isReferenceType()) { in create_call_once()
818 if (!MD->getReturnType()->isReferenceType()) in createObjCPropertyGetter()
H A DConsumed.cpp144 if (QT->isPointerType() || QT->isReferenceType()) in isConsumableType()
154 if (QT->isPointerType() || QT->isReferenceType()) in isAutoCastType()
190 return ParamType->isPointerType() || ParamType->isReferenceType(); in isPointerOrRef()
687 if (RetType->isReferenceType()) in propagateReturnType()
868 else if (ParamType->isReferenceType() && in VisitParmVarDecl()
H A DLiveVariables.cpp323 return VD && !VD->getType()->isReferenceType() && in writeShouldKill()
345 Killed = !BD->getType()->isReferenceType(); in VisitBinaryOperator()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp63 if (T->isReferenceType() || T->isPointerType()) { in classify()
H A DByteCodeExprGen.cpp264 if (!DE->getDecl()->getType()->isReferenceType()) { in dereference()
474 if (VD->getType()->isReferenceType()) in getPtrVarDecl()
H A DInterpFrame.cpp89 if (!Ty->isReferenceType()) in print()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp38 assert(!TR->isReferenceType() && "Expressions can't have reference type."); in ClassifyImpl()
465 islvalue = NTTParm->getType()->isReferenceType() || in ClassifyDecl()
524 if (Value->getType()->isReferenceType()) in ClassifyMemberExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp98 if (QTy->isReferenceType()) in isValidBaseType()
189 if (Ty->isPointerType() || Ty->isReferenceType()) in getTypeInfoHelper()
H A DCGCoroutine.cpp302 assert(getCoroutineSuspendExprReturnType(getContext(), E)->isReferenceType() && in EmitCoawaitLValue()
312 assert(getCoroutineSuspendExprReturnType(getContext(), E)->isReferenceType() && in EmitCoyieldLValue()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObject.h331 return T->isAnyPointerType() || T->isReferenceType(); in isDereferencableType()

1234