Home
last modified time | relevance | path

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

123

/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp182 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
DLiveVariables.cpp350 if (VD->getType()->isReferenceType()) in VisitBinaryOperator()
DCFG.cpp706 IsReference = FD->getType()->isReferenceType(); in addInitializer()
804 if (Ty->isReferenceType()) { in addAutomaticObjDtors()
938 if (QT.getTypePtr()->isReferenceType()) { in addLocalScopeForVarDecl()
1617 IsReference = VD->getType()->isReferenceType(); in VisitDeclSubExpr()
/external/clang/lib/AST/
DExprClassification.cpp53 assert(!TR->isReferenceType() && "Expressions can't have reference type."); in ClassifyImpl()
408 islvalue = NTTParm->getType()->isReferenceType(); in ClassifyDecl()
462 if (Value->getType()->isReferenceType()) in ClassifyMemberExpr()
DAPValue.cpp348 bool IsReference = Ty->isReferenceType(); in printPretty()
DMicrosoftMangle.cpp275 if (Ty->isPointerType() || Ty->isReferenceType()) { in mangleVariableEncoding()
1103 if (!RT->isAnyPointerType() && !RT->isReferenceType()) { in mangleType()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp26 assert(!D.getType()->isReferenceType() && in EmitDeclInit()
131 if (!T->isReferenceType()) { in EmitCXXGlobalVarDeclInit()
DCGExprAgg.cpp122 if (E->getDecl()->getType()->isReferenceType()) { in VisitDeclRefExpr()
656 if (E->getCallReturnType()->isReferenceType()) { in VisitCallExpr()
936 } else if (type->isReferenceType()) { in EmitInitializationToLValue()
1183 if (Field->getType()->isReferenceType()) in GetNumNonZeroBytesInInit()
DCGExpr.cpp810 assert(!type->isReferenceType()); in isConstantEmittableObjectType()
1648 if (VD->getType()->isReferenceType()) { in EmitGlobalVarDeclLValue()
1705 !VD->getType()->isReferenceType() && in EmitDeclRefLValue()
1733 if (VD->getType()->isReferenceType()) { in EmitDeclRefLValue()
2205 assert(!type->isReferenceType() && "union has reference member"); in EmitLValueForField()
2269 if (!FieldType->isReferenceType()) in EmitLValueForFieldInitialization()
2697 assert(E->getCallReturnType()->isReferenceType() && in EmitCallExprLValue()
2744 assert(E->getMethodDecl()->getResultType()->isReferenceType() && in EmitObjCMessageExprLValue()
DCGVTables.cpp182 bool NullCheckValue = !ResultType->isReferenceType(); in PerformReturnAdjustment()
DCGExprConstant.cpp1024 if (D.getType()->isReferenceType()) in EmitConstantInit()
1045 if (DestType->isReferenceType()) in EmitConstantExpr()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp353 if (castTy->isPointerType() || castTy->isReferenceType()) in evalCast()
403 originalTy->isBlockPointerType() || castTy->isReferenceType()); in evalCast()
DBugReporterVisitors.cpp36 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference()
997 if (!(T->isAnyPointerType() || T->isReferenceType())) { in VisitNode()
DExprEngineC.cpp344 if (T->isReferenceType()) { in VisitCast()
467 !VD->getType()->isReferenceType() && isa<loc::MemRegionVal>(InitVal)){ in VisitDeclStmt()
DRangeConstraintManager.cpp381 if (T->isReferenceType()) { in GetRange()
DSimpleSValBuilder.cpp126 if (Loc::isLocType(castTy) || castTy->isReferenceType()) in evalCastFromLoc()
DCallEvent.cpp64 if (T->isAnyPointerType() || T->isReferenceType()) in isCallbackArg()
/external/clang/lib/StaticAnalyzer/Checkers/
DDereferenceChecker.cpp232 if (!TVR->getValueType()->isReferenceType()) in checkBind()
DGenericTaintChecker.cpp498 || (ArgTy->isReferenceType() && !Arg->getType().isConstQualified())) in process()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSVals.h250 T->isReferenceType(); in isLocType()
/external/clang/lib/Sema/
DSemaInit.cpp299 if (Field->getType()->isReferenceType()) { in FillInValueInitForField()
711 } else if (DeclType->isReferenceType()) { in CheckListElementTypes()
756 } else if (ElemType->isReferenceType()) { in CheckSubElementType()
3063 if (DestType->isReferenceType()) { in TryListInitialization()
3302 Sequence.AddReferenceBindingStep(cv1T1, !T2->isReferenceType()); in TryRefInitWithConversionFunction()
3687 assert(!DestType->isReferenceType() && "References are handled elsewhere"); in TryUserDefinedConversion()
4031 if (DestType->isReferenceType()) { in InitializationSequence()
4838 if (S.getLangOpts().CPlusPlus0x && Entity.getType()->isReferenceType() && in Perform()
5162 bool IsTemporary = Entity.getType()->isReferenceType(); in Perform()
5196 bool UseTemporary = Entity.getType()->isReferenceType(); in Perform()
[all …]
DSemaExprCXX.cpp417 if (QT->isPointerType() || QT->isReferenceType()) in GetUuidAttrOfType()
1450 else if (AllocType->isReferenceType()) in CheckAllocatedType()
2505 assert(!ToType->isReferenceType()); in PerformImplicitConversion()
2827 ExprValueKind VK = ToType->isReferenceType() ? in PerformImplicitConversion()
3008 return T->isReferenceType(); in EvaluateUnaryTypeTrait()
3101 if (T.isPODType(Self.Context) || T->isReferenceType()) in EvaluateUnaryTypeTrait()
3133 if (T.isPODType(Self.Context) || T->isReferenceType()) in EvaluateUnaryTypeTrait()
3156 if (T->isReferenceType()) in EvaluateUnaryTypeTrait()
3199 if (T.isPODType(C) || T->isReferenceType() || T->isObjCLifetimeType()) in EvaluateUnaryTypeTrait()
DSemaType.cpp930 if (Result->isAnyPointerType() || Result->isReferenceType()) { in ConvertDeclSpecToType()
981 TypeQuals && Result->isReferenceType()) { in ConvertDeclSpecToType()
1130 if (T->isReferenceType()) { in BuildPointerType()
1260 if (T->isReferenceType()) { in BuildArrayType()
1569 if (T->isReferenceType()) { in BuildMemberPointerType()
2064 if (RT->isReferenceType() && FTI.NumArgs != 1) in warnAboutAmbiguousFunction()
4689 else if (T->isReferenceType()) in BuildAtomicType()
DSemaDecl.cpp3339 if (Ty->isPointerType() || Ty->isReferenceType()) in getCoreType()
6241 bool isReferenceType; member in __anon903f57f50511::SelfReferenceChecker
6250 isReferenceType = false; in SelfReferenceChecker()
6254 isReferenceType = VD->getType()->isReferenceType(); in SelfReferenceChecker()
6264 if (isRecordType || isReferenceType) in HandleExpr()
6330 unsigned diag = isReferenceType in HandleDeclRefExpr()
6386 if ((!VDecl->hasLocalStorage() || VDecl->getType()->isReferenceType()) && in AddInitializerToDecl()
6880 if (Type->isReferenceType()) { in ActOnUninitializedDecl()
7065 !Init->isConstantInitializer(Context, baseType->isReferenceType())) in CheckCompleteVariableDeclaration()
9430 if (T->isReferenceType()) in CheckFieldDecl()
[all …]
/external/clang/include/clang/AST/
DType.h1422 return !isReferenceType() && !isFunctionType() && !isVoidType();
1500 bool isReferenceType() const;
1987 ReferenceTypeBits.InnerRef = Referencee->isReferenceType();
4755 isReferenceType() ||
4779 inline bool Type::isReferenceType() const {
5002 return (isPointerType() || isReferenceType() || isBlockPointerType() ||

123