| /src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | RecordOps.cpp | 22 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 D | DataflowEnvironment.cpp | 855 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 D | CheckExprLifetime.cpp | 293 } 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 D | SemaSYCL.cpp | 116 NextTy->isReferenceType()) { in deepTypeCheckForDevice()
|
| /src/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | StorageLocation.h | 40 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 D | DataflowEnvironment.h | 390 !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 D | DataflowAnalysisContext.h | 201 if (Entry.getValue()->isReferenceType()) in getSyntheticFields()
|
| /src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 269 (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 D | SValBuilder.h | 365 type->isReferenceType()) && in makeNullWithType() 371 type = type->isReferenceType() in makeNullWithType()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastValueChecker.cpp | 220 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 D | BuiltinFunctionChecker.cpp | 60 !RetTy->isPointerType() && !RetTy->isReferenceType()) in isBuiltinLikeFunction() 64 !ParmTy->isPointerType() && !ParmTy->isReferenceType()) in isBuiltinLikeFunction()
|
| H A D | ReturnUndefChecker.cpp | 74 if (RT->isReferenceType()) { in checkPreStmt()
|
| H A D | DereferenceChecker.cpp | 152 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference() 308 if (!TVR->getValueType()->isReferenceType()) in checkBind()
|
| H A D | CastToStructChecker.cpp | 83 if (!VD || VD->getType()->isReferenceType()) in VisitCastExpr()
|
| H A D | CallAndMessageChecker.cpp | 209 } 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 D | BodyFarm.cpp | 183 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 D | Consumed.cpp | 144 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 D | UncountedLambdaCapturesChecker.cpp | 87 assert(T->isReferenceType()); in reportBug()
|
| H A D | UncountedLocalVarsChecker.cpp | 42 if (T->isPointerType() || T->isReferenceType()) { in isRefcountedStringsHack()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicType.cpp | 70 while (Ty->isReferenceType() || Ty->isPointerType()) in unbox() 120 assert((CastToTy->isAnyPointerType() || CastToTy->isReferenceType()) && in setDynamicTypeAndCastInfo()
|
| H A D | SValBuilder.cpp | 707 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 D | LoopUnrolling.cpp | 190 return FD->getType()->isReferenceType(); in isCapturedByReference() 221 (IsRefParamOrCapture && VD->getType()->isReferenceType())) in isPossiblyEscaped()
|
| /src/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeEmitter.cpp | 122 Offset, Cap.second->getType()->isReferenceType()}; in compileFunc() 127 CaptureType->isReferenceType() || in compileFunc()
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprClassification.cpp | 38 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 D | UninitializedObject.h | 331 return T->isAnyPointerType() || T->isReferenceType(); in isDereferencableType()
|