Home
last modified time | relevance | path

Searched refs:RefTy (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/clang/include/clang/Basic/
DDirectoryEntry.h27 template <class RefTy> class MapEntryOptionalStorage;
115 template <class RefTy> class MapEntryOptionalStorage {
116 using optional_none_tag = typename RefTy::optional_none_tag;
117 RefTy MaybeRef;
131 RefTy &getValue() LLVM_LVALUE_FUNCTION {
135 RefTy const &getValue() const LLVM_LVALUE_FUNCTION {
140 RefTy &&getValue() && {
147 MaybeRef = RefTy(std::forward<Args>(args)...);
150 MapEntryOptionalStorage &operator=(RefTy Ref) {
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DGTestChecker.cpp229 auto *RefTy = CtorDecl->getParamDecl(0)->getType()->getAs<ReferenceType>(); in checkPostCall() local
230 if (RefTy && in checkPostCall()
231 RefTy->getPointeeType()->getCanonicalTypeUnqualified() == BoolTy) { in checkPostCall()
/external/llvm-project/clang/lib/Sema/
DSemaExceptionSpec.cpp31 else if (const ReferenceType *RefTy = T->getAs<ReferenceType>()) in GetUnderlyingFunction() local
32 T = RefTy->getPointeeType(); in GetUnderlyingFunction()
677 const ReferenceType *RefTy = HandlerType->getAs<ReferenceType>(); in handlerCanCatch() local
678 if (RefTy) in handlerCanCatch()
679 HandlerType = RefTy->getPointeeType(); in handlerCanCatch()
687 if (RefTy && (!HandlerType.isConstQualified() || in handlerCanCatch()
833 if (const ReferenceType *RefTy = SubI->getAs<ReferenceType>()) in CheckExceptionSpecSubset() local
834 SubI = RefTy->getPointeeType(); in CheckExceptionSpecSubset()
DSemaExpr.cpp12864 if (const ReferenceType *RefTy = LHSDecl->getType()->getAs<ReferenceType>()) in CheckIdentityFieldAssignment() local
12865 if (RefTy->getPointeeType().isVolatileQualified()) in CheckIdentityFieldAssignment()
13685 if (const ReferenceType *RefTy = LHSDecl->getType()->getAs<ReferenceType>()) in DiagnoseSelfAssignment() local
13686 if (RefTy->getPointeeType().isVolatileQualified()) in DiagnoseSelfAssignment()
19117 if (const ReferenceType *RefTy = Type->getAs<ReferenceType>()) { in resolveDecl() local
19118 Type = RefTy->getPointeeType(); in resolveDecl()
DSemaOverload.cpp7994 if (const ReferenceType *RefTy = Ty->getAs<ReferenceType>()) in AddTypesConvertedFrom() local
7995 Ty = RefTy->getPointeeType(); in AddTypesConvertedFrom()
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp31 else if (const ReferenceType *RefTy = T->getAs<ReferenceType>()) in GetUnderlyingFunction() local
32 T = RefTy->getPointeeType(); in GetUnderlyingFunction()
683 if (const ReferenceType *RefTy = CanonicalSubT->getAs<ReferenceType>()) in CheckExceptionSpecSubset() local
684 CanonicalSubT = RefTy->getPointeeType(); in CheckExceptionSpecSubset()
701 if (const ReferenceType *RefTy = CanonicalSuperT->getAs<ReferenceType>()) in CheckExceptionSpecSubset() local
702 CanonicalSuperT = RefTy->getPointeeType(); in CheckExceptionSpecSubset()
DSemaExpr.cpp10705 if (const ReferenceType *RefTy = LHSDecl->getType()->getAs<ReferenceType>()) in DiagnoseSelfAssignment() local
10706 if (RefTy->getPointeeType().isVolatileQualified()) in DiagnoseSelfAssignment()
14838 if (const ReferenceType *RefTy = Type->getAs<ReferenceType>()) { in resolveDecl() local
14839 Type = RefTy->getPointeeType(); in resolveDecl()
DSemaOverload.cpp7041 if (const ReferenceType *RefTy = Ty->getAs<ReferenceType>()) in AddTypesConvertedFrom() local
7042 Ty = RefTy->getPointeeType(); in AddTypesConvertedFrom()
/external/clang/lib/CodeGen/
DCGExpr.cpp1959 const ReferenceType *RefTy, in EmitLoadOfReference() argument
1962 return Address(Ptr, getNaturalTypeAlignment(RefTy->getPointeeType(), in EmitLoadOfReference()
1968 const ReferenceType *RefTy) { in EmitLoadOfReferenceLValue() argument
1970 Address Addr = EmitLoadOfReference(RefAddr, RefTy, &Source); in EmitLoadOfReferenceLValue()
1971 return MakeAddrLValue(Addr, RefTy->getPointeeType(), Source); in EmitLoadOfReferenceLValue()
2009 if (auto RefTy = VD->getType()->getAs<ReferenceType>()) { in EmitGlobalVarDeclLValue() local
2010 LV = CGF.EmitLoadOfReferenceLValue(Addr, RefTy); in EmitGlobalVarDeclLValue()
2110 if (auto RefTy = VD->getType()->getAs<ReferenceType>()) { in EmitDeclRefLValue() local
2111 return EmitLoadOfReferenceLValue(it->second, RefTy); in EmitDeclRefLValue()
2182 if (auto RefTy = VD->getType()->getAs<ReferenceType>()) { in EmitDeclRefLValue() local
[all …]
DCGCall.cpp1835 if (const auto *RefTy = RetTy->getAs<ReferenceType>()) { in ConstructAttributeList() local
1836 QualType PTy = RefTy->getPointeeType(); in ConstructAttributeList()
1951 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) { in ConstructAttributeList() local
1952 QualType PTy = RefTy->getPointeeType(); in ConstructAttributeList()
DCodeGenFunction.h1674 Address EmitLoadOfReference(Address Ref, const ReferenceType *RefTy,
1676 LValue EmitLoadOfReferenceLValue(Address Ref, const ReferenceType *RefTy);
DCGStmtOpenMP.cpp869 if (auto RefTy = PrivateVD->getType()->getAs<ReferenceType>()) in EmitOMPLastprivateClauseFinal() local
872 getNaturalTypeAlignment(RefTy->getPointeeType())); in EmitOMPLastprivateClauseFinal()
DCGOpenMPRuntime.cpp5008 if (auto *RefTy = ExprTy->getAs<ReferenceType>()) in getExprTypeSize() local
5009 ExprTy = RefTy->getPointeeType().getCanonicalType(); in getExprTypeSize()
/external/llvm-project/clang/lib/CodeGen/
DCGCall.cpp2121 if (const auto *RefTy = RetTy->getAs<ReferenceType>()) { in ConstructAttributeList() local
2122 QualType PTy = RefTy->getPointeeType(); in ConstructAttributeList()
2284 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) { in ConstructAttributeList() local
2285 QualType PTy = RefTy->getPointeeType(); in ConstructAttributeList()
DCodeGenFunction.h2416 LValue EmitLoadOfReferenceLValue(Address RefAddr, QualType RefTy,
2419 LValue RefLVal = MakeAddrLValue(RefAddr, RefTy, LValueBaseInfo(Source),
2420 CGM.getTBAAAccessInfo(RefTy));
DCGStmtOpenMP.cpp1148 if (const auto *RefTy = PrivateVD->getType()->getAs<ReferenceType>()) in EmitOMPLastprivateClauseFinal() local
1151 CGM.getNaturalTypeAlignment(RefTy->getPointeeType())); in EmitOMPLastprivateClauseFinal()
DCGOpenMPRuntime.cpp7233 if (const auto *RefTy = ExprTy->getAs<ReferenceType>()) in getExprTypeSize() local
7234 ExprTy = RefTy->getPointeeType().getCanonicalType(); in getExprTypeSize()