Home
last modified time | relevance | path

Searched refs:isPRValue (Results 1 – 24 of 24) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp72 assert(isPRValue()); in ClassifyImpl()
433 if (E->isPRValue()) in ClassifyInternal()
H A DExprConstant.cpp104 if (E->isPRValue()) in getStorageType()
7954 } else if (E->getBase()->isPRValue()) { in VisitMemberExpr()
10089 assert(E->isPRValue() && E->getType()->isRecordType() && in EvaluateRecord()
10145 assert(E->isPRValue() && E->getType()->isRecordType()); in EvaluateTemporary()
10187 assert(E->isPRValue() && E->getType()->isVectorType() && in EvaluateVector()
10434 assert(E->isPRValue() && E->getType()->isArrayType() && in EvaluateArray()
14394 assert(E->isPRValue() && E->getType()->isAtomicType()); in EvaluateAtomic()
14519 assert(E->isPRValue() && E->getType()->isVoidType()); in EvaluateVoid()
14619 if (E->isPRValue()) { in EvaluateInPlace()
14689 if (Exp->isPRValue() && in FastEvaluateAsRValue()
[all …]
H A DExpr.cpp115 assert(BO->getRHS()->isPRValue()); in skipRValueSubobjectAdjustments()
1814 if (isPRValue() && !Ty->isDependentType() && !SETy->isDependentType()) { in CastConsistency()
2331 if (!getInit(0)->isPRValue() && getType()->isRecordType()) in isTransparent()
3069 if (!E->Classify(C).isPRValue()) { in isTemporaryObject()
4015 return DRE1->isPRValue() && DRE2->isPRValue() && in isSameComparisonOperand()
H A DDeclCXX.cpp2223 if (Base->isPRValue() && Base->getType()->isRecordType()) in getDevirtualizedMethod()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp603 if (VK == VK_PRValue && !E->isPRValue()) { in ImpCastExprToType()
620 assert((VK == VK_PRValue || Kind == CK_Dependent || !E->isPRValue()) && in ImpCastExprToType()
636 if (getLangOpts().CPlusPlus && E->isPRValue()) { in ImpCastExprToType()
652 if (VK == VK_PRValue && !getLangOpts().CPlusPlus && !E->isPRValue()) { in ImpCastExprToType()
H A DSemaInit.cpp4078 UnwrappedArgs.size() == 1 && UnwrappedArgs[0]->isPRValue() && in TryConstructorInitialization()
4491 if (!E->isPRValue()) in TryListInitialization()
4931 (InitCategory.isPRValue() && in TryReferenceInitializationCore()
4935 if (InitCategory.isPRValue() && T2->isRecordType()) { in TryReferenceInitializationCore()
5498 assert(src->isPRValue()); in checkIndirectCopyRestoreSource()
5835 if (Initializer->isPRValue()) { in InitializeFrom()
7885 if (!ArgStripped->isPRValue() || !ArgStripped->getType()->isRecordType()) in CheckMoveOnConstruction()
7955 if (!E->isPRValue() || !getLangOpts().CPlusPlus11) in TemporaryMaterializationConversion()
8245 assert(CurInit.get()->isPRValue() && "not a temporary"); in Perform()
8405 assert(CurInit.get()->isPRValue() && "cannot convert glvalue to atomic"); in Perform()
H A DSemaCoroutine.cpp880 if (E->isPRValue()) in BuildResolvedCoawaitExpr()
940 if (E->isPRValue()) in BuildCoyieldExpr()
H A DSemaCast.cpp827 if (SrcExpr.get()->isPRValue()) in CheckDynamicCast()
1909 if (isa<RValueReferenceType>(DestTypeTmp) && SrcExpr.get()->isPRValue()) { in TryConstCast()
3129 if (SrcExpr.get()->isPRValue()) in CheckBuiltinBitCast()
H A DSemaExprMember.cpp913 assert((!IsArrow || Base->isPRValue()) && in BuildMemberExpr()
968 if (!IsArrow && BaseExpr && BaseExpr->isPRValue()) { in BuildMemberReferenceExpr()
H A DSemaStmtAsm.cpp738 if (Res->isPRValue()) { in FillInlineAsmIdentifierInfo()
H A DSemaExceptionSpec.cpp1113 if (Op->Classify(S.Context).isPRValue()) in canTypeidThrow()
H A DSemaPseudoObject.cpp838 if (RefExpr->isExplicitProperty() && result.get()->isPRValue()) { in buildRValueOperation()
H A DSemaExprCXX.cpp4634 if (ToType->isReferenceType() && From->isPRValue()) { in PerformImplicitConversion()
5688 return E->isPRValue(); in EvaluateExpressionTrait()
5723 else if (LHS.get()->isPRValue()) in CheckPointerToMemberOperands()
7875 if (E->isPRValue()) { in IgnoredValueConversions()
H A DSemaExpr.cpp5549 if (getLangOpts().CPlusPlus11 && LHSExp->isPRValue()) { in CreateBuiltinArraySubscriptExpr()
7133 assert(E.get()->isPRValue()); in maybeExtendBlockObject()
8834 if (commonExpr->isPRValue() && (commonExpr->getType()->isRecordType() || in ActOnConditionalOp()
19179 assert(E->isPRValue()); in VisitUnaryAddrOf()
19189 assert(E->isPRValue()); in resolveDecl()
19280 assert(E->isPRValue()); in VisitUnaryAddrOf()
19440 assert(E->isPRValue()); in VisitImplicitCastExpr()
19454 assert(E->isPRValue()); in VisitImplicitCastExpr()
H A DSemaOverload.cpp4851 (InitCategory.isPRValue() && in TryReferenceInit()
4860 !(InitCategory.isPRValue() || T2->isRecordType())); in TryReferenceInit()
5438 if (From->isPRValue()) { in PerformObjectArgumentInitialization()
H A DSemaExprObjC.cpp1876 if (typeArgs && Args[i]->isPRValue() && paramType->isBlockPointerType() && in CheckMessageArgumentTypes()
H A DSemaType.cpp2424 if (ArraySize && !ArraySize->isPRValue()) { in BuildArrayType()
H A DSemaDeclCXX.cpp8335 if (E->isPRValue() && S.Context.hasSameType(E->getType(), R)) in buildStaticCastToR()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp475 AFC->getArgExpr(0)->isPRValue()) in checkPostCall()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h271 bool isPRValue() const { return getValueKind() == VK_PRValue; } in isPRValue() function
376 bool isPRValue() const { return Kind >= CL_Function; } in isPRValue() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp2173 } else if (isa<CallExpr>(E) && E->isPRValue()) { in VisitDeclStmt()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2310 if (!E->isPRValue()) in handle()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp203 if (E->isPRValue()) in EmitIgnoredExpr()
5401 if (ov == resultExpr && ov->isPRValue() && !forLValue && in emitPseudoObjectExpr()
H A DCGExprScalar.cpp4849 if (BaseExpr->isPRValue()) { in EmitObjCIsaExpr()