Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
H A DInnerPointerChecker.cpp170 if (!ParamTy->isReferenceType() || in checkFunctionArguments()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.cpp678 if (CastTy->isPointerType() || CastTy->isReferenceType()) in evalCastSubKind()
779 if (CastTy->isPointerType() || CastTy->isReferenceType()) { in evalCastSubKind()
791 CastTy->isReferenceType()); in evalCastSubKind()
889 CastTy->isReferenceType()); in evalCastSubKind()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprClassification.cpp38 assert(!TR->isReferenceType() && "Expressions can't have reference type."); in ClassifyImpl()
456 islvalue = NTTParm->getType()->isReferenceType() || in ClassifyDecl()
515 if (Value->getType()->isReferenceType()) in ClassifyMemberExpr()
/netbsd-src/external/apache2/llvm/dist/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()
H A DCGExpr.cpp1436 assert(!type->isReferenceType()); in isConstantEmittableObjectType()
2541 LValue LV = VD->getType()->isReferenceType() ? in EmitGlobalVarDeclLValue()
2687 (VD->getType()->isReferenceType() || in EmitDeclRefLValue()
2695 if (!VD->getType()->isReferenceType()) { in EmitDeclRefLValue()
2727 if (VD->getType()->isReferenceType()) in EmitDeclRefLValue()
2813 LValue LV = VD->getType()->isReferenceType() ? in EmitDeclRefLValue()
2820 !VD->getType()->isReferenceType() && in EmitDeclRefLValue()
4399 if (FieldType->isReferenceType()) in EmitLValueForField()
4413 if (FieldType->isReferenceType()) { in EmitLValueForField()
4450 if (!FieldType->isReferenceType()) in EmitLValueForFieldInitialization()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObject.h331 return T->isAnyPointerType() || T->isReferenceType(); in isDereferencableType()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaInit.cpp691 if (Field->getType()->isReferenceType()) { in FillInEmptyInitForField()
1318 } else if (DeclType->isReferenceType()) { in CheckListElementTypes()
1347 if (ElemType->isReferenceType()) in CheckSubElementType()
4369 if (DestType->isReferenceType()) { in TryListInitialization()
5232 assert(!DestType->isReferenceType() && "References are handled elsewhere"); in TryUserDefinedConversion()
5387 Function->getReturnType()->isReferenceType() || in TryUserDefinedConversion()
5758 if (DestType->isReferenceType()) { in InitializeFrom()
6887 } else if (Callee->getReturnType()->isReferenceType()) { in shouldTrackImplicitObjectArg()
6916 } else if (FD->getReturnType()->isReferenceType()) { in shouldTrackFirstArgument()
6958 !MD->getReturnType()->isReferenceType()); in handleGslAnnotatedTypes()
[all …]

1234