/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 182 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
|
D | LiveVariables.cpp | 350 if (VD->getType()->isReferenceType()) in VisitBinaryOperator()
|
D | CFG.cpp | 706 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/ |
D | ExprClassification.cpp | 53 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()
|
D | APValue.cpp | 348 bool IsReference = Ty->isReferenceType(); in printPretty()
|
D | MicrosoftMangle.cpp | 275 if (Ty->isPointerType() || Ty->isReferenceType()) { in mangleVariableEncoding() 1103 if (!RT->isAnyPointerType() && !RT->isReferenceType()) { in mangleType()
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 26 assert(!D.getType()->isReferenceType() && in EmitDeclInit() 131 if (!T->isReferenceType()) { in EmitCXXGlobalVarDeclInit()
|
D | CGExprAgg.cpp | 122 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()
|
D | CGExpr.cpp | 810 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()
|
D | CGVTables.cpp | 182 bool NullCheckValue = !ResultType->isReferenceType(); in PerformReturnAdjustment()
|
D | CGExprConstant.cpp | 1024 if (D.getType()->isReferenceType()) in EmitConstantInit() 1045 if (DestType->isReferenceType()) in EmitConstantExpr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 353 if (castTy->isPointerType() || castTy->isReferenceType()) in evalCast() 403 originalTy->isBlockPointerType() || castTy->isReferenceType()); in evalCast()
|
D | BugReporterVisitors.cpp | 36 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference() 997 if (!(T->isAnyPointerType() || T->isReferenceType())) { in VisitNode()
|
D | ExprEngineC.cpp | 344 if (T->isReferenceType()) { in VisitCast() 467 !VD->getType()->isReferenceType() && isa<loc::MemRegionVal>(InitVal)){ in VisitDeclStmt()
|
D | RangeConstraintManager.cpp | 381 if (T->isReferenceType()) { in GetRange()
|
D | SimpleSValBuilder.cpp | 126 if (Loc::isLocType(castTy) || castTy->isReferenceType()) in evalCastFromLoc()
|
D | CallEvent.cpp | 64 if (T->isAnyPointerType() || T->isReferenceType()) in isCallbackArg()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DereferenceChecker.cpp | 232 if (!TVR->getValueType()->isReferenceType()) in checkBind()
|
D | GenericTaintChecker.cpp | 498 || (ArgTy->isReferenceType() && !Arg->getType().isConstQualified())) in process()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SVals.h | 250 T->isReferenceType(); in isLocType()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 299 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 …]
|
D | SemaExprCXX.cpp | 417 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()
|
D | SemaType.cpp | 930 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()
|
D | SemaDecl.cpp | 3339 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/ |
D | Type.h | 1422 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() ||
|