Home
last modified time | relevance | path

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

12345

/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h269 (FromTy->isReferenceType() ^ ToTy->isReferenceType())) { in fromCast()
513 Ty->isBlockPointerType() || Ty->isReferenceType()) { in getZeroExpr()
618 (LTy->isReferenceType() || RTy->isReferenceType())) { in doTypeConversion()
629 (LTy->isReferenceType() ^ RTy->isReferenceType())) { in doTypeConversion()
631 LTy->isReferenceType()) { in doTypeConversion()
H A DSValBuilder.h344 type->isReferenceType()) && in makeNullWithType()
350 type = type->isReferenceType() in makeNullWithType()
/openbsd/gnu/llvm/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 DDereferenceChecker.cpp150 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference()
295 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()
/openbsd/gnu/llvm/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()
858 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()
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp199 if (VD->getType()->isReferenceType()) { in VisitDeclRefExpr()
238 if (D.getType()->isReferenceType()) { in VisitDeclStmt()
453 if (Loc->getType()->isReferenceType()) in VisitReturnStmt()
478 if (VarDeclLoc->getType()->isReferenceType()) { in VisitMemberExpr()
500 if (MemberLoc.getType()->isReferenceType()) { in VisitMemberExpr()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLambdaCapturesChecker.cpp87 assert(T->isReferenceType()); in reportBug()
H A DPtrTypesSemantics.cpp132 if (T->isPointerType() || T->isReferenceType()) { in isUncountedPtr()
H A DUncountedLocalVarsChecker.cpp65 if (T->isPointerType() || T->isReferenceType()) { in isRefcountedStringsHack()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DDynamicType.cpp70 while (Ty->isReferenceType() || Ty->isPointerType()) in unbox()
120 assert((CastToTy->isAnyPointerType() || CastToTy->isReferenceType()) && in setDynamicTypeAndCastInfo()
H A DSValBuilder.cpp702 if (CastTy->isPointerType() || CastTy->isReferenceType()) in VisitLocGotoLabel()
732 if (!Ty->isReferenceType()) in VisitLocMemRegionVal()
812 if (CastTy->isPointerType() || CastTy->isReferenceType()) { in VisitLocMemRegionVal()
824 CastTy->isReferenceType()); in VisitLocMemRegionVal()
914 CastTy->isReferenceType()); in VisitNonLocLocAsInteger()
H A DLoopUnrolling.cpp190 return FD->getType()->isReferenceType(); in isCapturedByReference()
210 (IsRefParamOrCapture && VD->getType()->isReferenceType())) in isPossiblyEscaped()
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DContext.cpp76 if (T->isReferenceType() || T->isPointerType()) { in classify()
H A DInterpFrame.cpp120 if (!Ty->isReferenceType()) in print()
H A DByteCodeExprGen.cpp430 if (F->Decl->getType()->isReferenceType()) in VisitMemberExpr()
608 if (!DE->getDecl()->getType()->isReferenceType()) { in dereference()
1393 bool IsReference = Decl->getType()->isReferenceType(); in VisitDeclRefExpr()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaSYCL.cpp127 NextTy->isReferenceType()) { in deepTypeCheckForSYCLDevice()
H A DSemaInit.cpp704 if (Field->getType()->isReferenceType()) { in FillInEmptyInitForField()
1332 } else if (DeclType->isReferenceType()) { in CheckListElementTypes()
1361 if (ElemType->isReferenceType()) in CheckSubElementType()
4426 if (DestType->isReferenceType()) { in TryListInitialization()
6065 if (DestType->isReferenceType()) { in InitializeFrom()
7531 if (!VD->getType()->isReferenceType()) { in visitLocalsRetainedByReferenceBinding()
7730 if (I->getType()->isReferenceType()) in visitLocalsRetainedByInitializer()
8166 << VD->getType()->isReferenceType() in checkInitializerLifetime()
9284 if (T->isReferenceType()) { in DiagnoseUninitializedReference()
9368 if (DestType->isReferenceType()) { in diagnoseListInit()
[all …]
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprClassification.cpp38 assert(!TR->isReferenceType() && "Expressions can't have reference type."); in ClassifyImpl()
473 islvalue = NTTParm->getType()->isReferenceType() || in ClassifyDecl()
529 if (Value->getType()->isReferenceType()) in ClassifyMemberExpr()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObject.h331 return T->isAnyPointerType() || T->isReferenceType(); in isDereferencableType()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp98 if (QTy->isReferenceType()) in isValidBaseType()
189 if (Ty->isPointerType() || Ty->isReferenceType()) in getTypeInfoHelper()

12345