Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DRecordOps.cpp22 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 DDataflowEnvironment.cpp855 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()
H A DTransfer.cpp240 if (D.getType()->isReferenceType() && Env.getStorageLocation(D) != nullptr) in ProcessVarDecl()
759 if (Field->getType()->isReferenceType()) { in VisitInitListExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp293 } 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 DSemaSYCL.cpp116 NextTy->isReferenceType()) { in deepTypeCheckForDevice()
H A DSemaSwift.cpp142 if (RT->hasPointerRepresentation() && !RT->isReferenceType()) in handleError()
561 if (ParamTy->isReferenceType() || ParamTy->isPointerType()) in DiagnoseName()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h269 (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 DSValBuilder.h365 type->isReferenceType()) && in makeNullWithType()
371 type = type->isReferenceType() in makeNullWithType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp220 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 DBuiltinFunctionChecker.cpp60 !RetTy->isPointerType() && !RetTy->isReferenceType()) in isBuiltinLikeFunction()
64 !ParmTy->isPointerType() && !ParmTy->isReferenceType()) in isBuiltinLikeFunction()
H A DDereferenceChecker.cpp152 return DRE->getDecl()->getType()->isReferenceType(); in isDeclRefExprToReference()
308 if (!TVR->getValueType()->isReferenceType()) in checkBind()
H A DCastToStructChecker.cpp83 if (!VD || VD->getType()->isReferenceType()) in VisitCastExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h390 !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 DDataflowAnalysisContext.h201 if (Entry.getValue()->isReferenceType()) in getSyntheticFields()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLambdaCapturesChecker.cpp87 assert(T->isReferenceType()); in reportBug()
H A DUncountedLocalVarsChecker.cpp42 if (T->isPointerType() || T->isReferenceType()) { in isRefcountedStringsHack()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicType.cpp70 while (Ty->isReferenceType() || Ty->isPointerType()) in unbox()
120 assert((CastToTy->isAnyPointerType() || CastToTy->isReferenceType()) && in setDynamicTypeAndCastInfo()
H A DLoopUnrolling.cpp190 return FD->getType()->isReferenceType(); in isCapturedByReference()
221 (IsRefParamOrCapture && VD->getType()->isReferenceType())) in isPossiblyEscaped()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp122 Offset, Cap.second->getType()->isReferenceType()}; in compileFunc()
127 CaptureType->isReferenceType() || in compileFunc()
H A DContext.cpp179 if (T->isReferenceType() || T->isPointerType() || in classify()
H A DInterpFrame.cpp129 if (!Ty->isReferenceType()) in print()
H A DEvaluationResult.cpp233 << Ptr.getType()->isReferenceType() << !Ptr.isRoot(); in checkReturnValue()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp38 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()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp128 Canon->isReferenceType()) && in Value()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp329 return VD && !VD->getType()->isReferenceType() && in writeShouldKill()
351 Killed = !BD->getType()->isReferenceType(); in VisitBinaryOperator()

12345