| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | AvoidCStyleCastsCheck.cpp | 43 (SourceType->isReferenceType() && DestType->isReferenceType())) { in needsConstCast() 48 (SourceType->isReferenceType() == DestType->isReferenceType()); in needsConstCast() 56 (T1->isReferenceType() && T2->isReferenceType())) { in pointedUnqualifiedTypesAreEqual() 218 if (DestType->isReferenceType()) { in check()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 269 (FromTy->isReferenceType() ^ ToTy->isReferenceType())) { in fromCast() 511 Ty->isBlockPointerType() || Ty->isReferenceType()) { in getZeroExpr() 616 (LTy->isReferenceType() || RTy->isReferenceType())) { in doTypeConversion() 627 (LTy->isReferenceType() ^ RTy->isReferenceType())) { in doTypeConversion() 629 LTy->isReferenceType()) { in doTypeConversion()
|
| H A D | SValBuilder.h | 344 type->isReferenceType()) && in makeNullWithType() 350 type = type->isReferenceType() in makeNullWithType()
|
| /llvm-project-15.0.7/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 | DereferenceChecker.cpp | 150 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference() 295 if (!TVR->getValueType()->isReferenceType()) in checkBind()
|
| H A D | CastToStructChecker.cpp | 83 if (!VD || VD->getType()->isReferenceType()) in VisitCastExpr()
|
| H A D | ReturnUndefChecker.cpp | 74 if (RT->isReferenceType()) { in checkPreStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | VirtualNearMissCheck.cpp | 62 !(BaseReturnTy->isReferenceType() && DerivedReturnTy->isReferenceType())) in checkOverridingFunctionReturnType()
|
| H A D | ForwardingReferenceOverloadCheck.cpp | 35 while (BaseType->isPointerType() || BaseType->isReferenceType()) { in AST_MATCHER()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 182 assert(Ty->isReferenceType()); in makeReferenceCast() 357 if (!Callback->getType()->isReferenceType()) { in create_call_once() 361 if (!Flag->getType()->isReferenceType()) { in create_call_once() 450 if (!CallbackFunctionType->getParamType(ParamIdx - 2)->isReferenceType()) { in create_call_once() 857 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()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | Transfer.cpp | 117 if (S->getDecl()->getType()->isReferenceType()) { in VisitDeclRefExpr() 147 if (D.getType()->isReferenceType()) { in VisitDeclStmt() 349 if (VarDeclLoc->getType()->isReferenceType()) { in VisitMemberExpr() 373 if (MemberLoc.getType()->isReferenceType()) { in VisitMemberExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | NonConstParameterCheck.cpp | 77 if (!ParType->isReferenceType() || Par->getType().isConstQualified()) in check() 95 if (!ParType->isReferenceType() || Par->getType().isConstQualified()) in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLambdaCapturesChecker.cpp | 86 assert(T->isReferenceType()); in reportBug()
|
| H A D | PtrTypesSemantics.cpp | 130 if (T->isPointerType() || T->isReferenceType()) { in isUncountedPtr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | ExceptionAnalyzer.cpp | 157 if (ThrownType->isReferenceType()) in throwsException() 183 if (CaughtType->isReferenceType()) { in throwsException()
|
| H A D | Aliasing.cpp | 42 if (LeftVar->hasInit() && LeftVar->getType()->isReferenceType()) { in isPtrOrReferenceForVar()
|
| /llvm-project-15.0.7/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 | 700 if (CastTy->isPointerType() || CastTy->isReferenceType()) in VisitLocGotoLabel() 730 if (!Ty->isReferenceType()) in VisitLocMemRegionVal() 810 if (CastTy->isPointerType() || CastTy->isReferenceType()) { in VisitLocMemRegionVal() 822 CastTy->isReferenceType()); in VisitLocMemRegionVal() 912 CastTy->isReferenceType()); in VisitNonLocLocAsInteger()
|
| H A D | LoopUnrolling.cpp | 187 return FD->getType()->isReferenceType(); in isCapturedByReference() 207 (IsRefParamOrCapture && VD->getType()->isReferenceType())) in isPossiblyEscaped()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseNodiscardCheck.cpp | 72 (Node->isReferenceType() && in AST_MATCHER()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Context.cpp | 63 if (T->isReferenceType() || T->isPointerType()) { in classify()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaSYCL.cpp | 127 NextTy->isReferenceType()) { in deepTypeCheckForSYCLDevice()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | ThrowByValueCatchByReferenceCheck.cpp | 151 } else if (!CaughtType->isReferenceType()) { in diagnoseCatchLocations()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprClassification.cpp | 38 assert(!TR->isReferenceType() && "Expressions can't have reference type."); in ClassifyImpl() 465 islvalue = NTTParm->getType()->isReferenceType() || in ClassifyDecl() 521 if (Value->getType()->isReferenceType()) in ClassifyMemberExpr()
|