Home
last modified time | relevance | path

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

12345

/src/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 DDataflowEnvironment.cpp855 assert(D.getType()->isReferenceType() || isa<BindingDecl>(D) || in setStorageLocation()
981 assert(!Type->isReferenceType()); in createValueUnlessSelfReferential()
1066 if (FieldType->isReferenceType()) { in initializeFieldsWithValues()
1079 assert(!FieldType->isReferenceType()); in initializeFieldsWithValues()
1087 if (Ty->isReferenceType()) { in createObjectInternal()
1177 if (Func->getReturnType()->isReferenceType()) { in dump()
/src/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp293 } else if (Callee->getReturnType()->isReferenceType()) { in shouldTrackImplicitObjectArg()
321 } else if (FD->getReturnType()->isReferenceType()) { in shouldTrackFirstArgument()
364 !MD->getReturnType()->isReferenceType()); in handleGslAnnotatedTypes()
371 !Callee->getReturnType()->isReferenceType()); in handleGslAnnotatedTypes()
377 !Callee->getReturnType()->isReferenceType()); in handleGslAnnotatedTypes()
555 F && !F->getType()->isReferenceType()) in visitLocalsRetainedByReferenceBinding()
574 if (!VD->getType()->isReferenceType()) { in visitLocalsRetainedByReferenceBinding()
768 ILE->getInitializedFieldInUnion()->getType()->isReferenceType()) in visitLocalsRetainedByInitializer()
784 if (I->getType()->isReferenceType()) in visitLocalsRetainedByInitializer()
1165 bool IsPointer = !Member->getType()->isReferenceType(); in checkExprLifetimeImpl()
[all …]
H A DSemaSYCL.cpp116 NextTy->isReferenceType()) { in deepTypeCheckForDevice()
/src/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DStorageLocation.h40 assert(Type.isNull() || !Type->isReferenceType()); in StorageLocation()
107 if (!Field->getType()->isReferenceType() && Loc == nullptr) in RecordStorageLocation()
163 assert(D.getType()->isReferenceType()); in setChild()
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 DDataflowAnalysisContext.h201 if (Entry.getValue()->isReferenceType()) in getSyntheticFields()
/src/contrib/llvm-project/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.h365 type->isReferenceType()) && in makeNullWithType()
371 type = type->isReferenceType() in makeNullWithType()
/src/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 DBuiltinFunctionChecker.cpp60 !RetTy->isPointerType() && !RetTy->isReferenceType()) in isBuiltinLikeFunction()
64 !ParmTy->isPointerType() && !ParmTy->isReferenceType()) in isBuiltinLikeFunction()
H A DReturnUndefChecker.cpp74 if (RT->isReferenceType()) { in checkPreStmt()
H A DDereferenceChecker.cpp152 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference()
308 if (!TVR->getValueType()->isReferenceType()) in checkBind()
H A DCastToStructChecker.cpp83 if (!VD || VD->getType()->isReferenceType()) in VisitCastExpr()
H A DCallAndMessageChecker.cpp209 } else if (ParamDecl->getType()->isReferenceType()) { in uninitRefOrPointer()
648 if (ResTy->isReferenceType()) { in emitNilReceiverBug()
698 if (CanRetTy.getTypePtr()->isReferenceType()|| in HandleNilReceiver()
/src/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 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()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLambdaCapturesChecker.cpp87 assert(T->isReferenceType()); in reportBug()
H A DUncountedLocalVarsChecker.cpp42 if (T->isPointerType() || T->isReferenceType()) { in isRefcountedStringsHack()
/src/contrib/llvm-project/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.cpp707 if (CastTy->isPointerType() || CastTy->isReferenceType()) in VisitGotoLabel()
737 if (!Ty->isReferenceType()) in VisitMemRegionVal()
817 if (CastTy->isPointerType() || CastTy->isReferenceType()) { in VisitMemRegionVal()
829 CastTy->isReferenceType()); in VisitMemRegionVal()
919 CastTy->isReferenceType()); in VisitLocAsInteger()
H A DLoopUnrolling.cpp190 return FD->getType()->isReferenceType(); in isCapturedByReference()
221 (IsRefParamOrCapture && VD->getType()->isReferenceType())) in isPossiblyEscaped()
/src/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp122 Offset, Cap.second->getType()->isReferenceType()}; in compileFunc()
127 CaptureType->isReferenceType() || in compileFunc()
/src/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp38 assert(!TR->isReferenceType() && "Expressions can't have reference type."); in ClassifyImpl()
491 islvalue = NTTParm->getType()->isReferenceType() || in ClassifyDecl()
547 if (Value->getType()->isReferenceType()) in ClassifyMemberExpr()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObject.h331 return T->isAnyPointerType() || T->isReferenceType(); in isDereferencableType()

12345