Home
last modified time | relevance | path

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

1234

/external/clang/lib/StaticAnalyzer/Checkers/
DReturnUndefChecker.cpp75 if (RT->isReferenceType()) { in checkPreStmt()
DCallAndMessageChecker.cpp160 } else if (ParamDecl->getType()->isReferenceType()) { in uninitRefOrPointer()
506 if (ResTy->isReferenceType()) { in emitNilReceiverBug()
555 if (CanRetTy.getTypePtr()->isReferenceType()|| in HandleNilReceiver()
DNonNullParamChecker.cpp79 haveRefTypeParam = (*TyI)->isReferenceType(); in checkPreCall()
DDereferenceChecker.cpp253 if (!TVR->getValueType()->isReferenceType()) in checkBind()
DDeadStoresChecker.cpp440 if (FD->getType()->isReferenceType()) in findLambdaReferenceCaptures()
DNullabilityChecker.cpp693 !Param->getType()->isReferenceType()) in checkPreCall()
748 Param->getType()->isReferenceType()) { in checkPreCall()
/external/clang/lib/AST/
DExprClassification.cpp38 assert(!TR->isReferenceType() && "Expressions can't have reference type."); in ClassifyImpl()
427 islvalue = NTTParm->getType()->isReferenceType(); in ClassifyDecl()
482 if (Value->getType()->isReferenceType()) in ClassifyMemberExpr()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp179 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
DConsumed.cpp142 if (QT->isPointerType() || QT->isReferenceType()) in isConsumableType()
152 if (QT->isPointerType() || QT->isReferenceType()) in isAutoCastType()
189 return ParamType->isPointerType() || ParamType->isReferenceType(); in isPointerOrRef()
691 if (RetType->isReferenceType()) in propagateReturnType()
884 else if (ParamType->isReferenceType() && in VisitParmVarDecl()
DBodyFarm.cpp478 if (!Prop->getType()->isReferenceType()) in createObjCPropertyGetter()
/external/v8/tools/clang/plugins/
DCheckIPCVisitor.cpp211 if (type->isReferenceType()) { in CheckType()
/external/v8/tools/clang/blink_gc_plugin/
DRecordInfo.cpp575 if (type->isPointerType() || type->isReferenceType()) { in CreateEdge()
577 return new RawPtr(ptr, type->isReferenceType()); in CreateEdge()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp538 if (castTy->isPointerType() || castTy->isReferenceType()) in evalCast()
588 originalTy->isBlockPointerType() || castTy->isReferenceType()); in evalCast()
DBugReporterVisitors.cpp39 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference()
890 if (!VD->getType()->isReferenceType()) in getLocationRegionIfReference()
1676 if (!(T->isAnyPointerType() || T->isReferenceType())) { in VisitNode()
DExprEngineC.cpp391 if (T->isReferenceType()) { in VisitCast()
517 !VD->getType()->isReferenceType()) { in VisitDeclStmt()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp127 if (E->getDecl()->getType()->isReferenceType()) { in VisitDeclRefExpr()
758 if (E->getCallReturnType(CGF.getContext())->isReferenceType()) { in VisitCallExpr()
1075 } else if (type->isReferenceType()) { in EmitInitializationToLValue()
1371 if (Field->getType()->isReferenceType()) in GetNumNonZeroBytesInInit()
DCGDeclCXX.cpp29 assert(!D.getType()->isReferenceType() && in EmitDeclInit()
172 if (!T->isReferenceType()) { in EmitCXXGlobalVarDeclInit()
DCGExpr.cpp1088 assert(!type->isReferenceType()); in isConstantEmittableObjectType()
2085 if (Init && !isa<ParmVarDecl>(VD) && VD->getType()->isReferenceType() && in EmitDeclRefLValue()
2191 !VD->getType()->isReferenceType() && in EmitDeclRefLValue()
3346 assert(!type->isReferenceType() && "union has reference member"); in EmitLValueForField()
3426 if (!FieldType->isReferenceType()) in EmitLValueForFieldInitialization()
3722 if (FD->getType()->isReferenceType()) in EmitRValueForField()
3866 assert(E->getCallReturnType(getContext())->isReferenceType() && in EmitCallExprLValue()
3927 assert(E->getMethodDecl()->getReturnType()->isReferenceType() && in EmitObjCMessageExprLValue()
DCGStmtOpenMP.cpp174 bool isReferenceType = false) { in castValueFromUintptr() argument
186 if (isReferenceType) { in castValueFromUintptr()
289 if (!VarTy->isReferenceType()) { in GenerateOpenMPCapturedStmtFunction()
302 VarTy->isReferenceType())); in GenerateOpenMPCapturedStmtFunction()
595 !FD->getType()->isReferenceType()) { in EmitOMPFirstprivateClause()
892 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
916 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
/external/clang/lib/Sema/
DSemaInit.cpp567 if (Field->getType()->isReferenceType()) { in FillInEmptyInitForField()
1076 } else if (DeclType->isReferenceType()) { in CheckListElementTypes()
1100 if (ElemType->isReferenceType()) in CheckSubElementType()
3765 if (DestType->isReferenceType()) { in TryListInitialization()
4115 Sequence.AddReferenceBindingStep(cv1T1, !T2->isReferenceType()); in TryRefInitWithConversionFunction()
4570 assert(!DestType->isReferenceType() && "References are handled elsewhere"); in TryUserDefinedConversion()
5005 if (DestType->isReferenceType()) { in InitializeFrom()
6013 ILE->getInitializedFieldInUnion()->getType()->isReferenceType()) in performLifetimeExtension()
6023 if (I->getType()->isReferenceType()) in performLifetimeExtension()
6289 if (S.getLangOpts().CPlusPlus11 && Entity.getType()->isReferenceType() && in Perform()
[all …]
DSemaExprCXX.cpp518 if (QT->isPointerType() || QT->isReferenceType()) in getUuidAttrOfType()
1906 else if (AllocType->isReferenceType()) in CheckAllocatedType()
3345 assert(!ToType->isReferenceType()); in PerformImplicitConversion()
3725 ExprValueKind VK = ToType->isReferenceType() ? in PerformImplicitConversion()
3964 return T->isReferenceType(); in EvaluateUnaryTypeTrait()
4079 if (T.isPODType(C) || T->isReferenceType()) in EvaluateUnaryTypeTrait()
4119 if (T->isReferenceType()) in EvaluateUnaryTypeTrait()
4165 if (T.isPODType(C) || T->isReferenceType()) in EvaluateUnaryTypeTrait()
4187 if (T->isReferenceType()) in EvaluateUnaryTypeTrait()
4217 if (T.isPODType(C) || T->isReferenceType() || T->isObjCLifetimeType()) in EvaluateUnaryTypeTrait()
/external/clang/tools/libclang/
DCXType.cpp721 if (QT->isReferenceType()) in clang_Type_getAlignOf()
750 if (QT->isReferenceType()) in clang_Type_getSizeOf()
/external/clang/include/clang/Sema/
DOverload.h689 while (STy->isPointerType() || STy->isReferenceType()) in getNumParams()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSVals.h293 T->isReferenceType() || T->isNullPtrType(); in isLocType()
/external/clang/include/clang/AST/
DType.h1592 return !isReferenceType() && !isFunctionType() && !isVoidType();
1667 bool isReferenceType() const;
2332 ReferenceTypeBits.InnerRef = Referencee->isReferenceType();
5470 isReferenceType() ||
5494 inline bool Type::isReferenceType() const {
5769 return (isPointerType() || isReferenceType() || isBlockPointerType() ||

1234