Home
last modified time | relevance | path

Searched refs:RefType (Results 1 – 10 of 10) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DBinaryStreamRef.h23 template <class RefType, class StreamType> class BinaryStreamRefBase {
60 RefType drop_front(uint64_t N) const { in drop_front()
62 return RefType(); in drop_front()
65 RefType Result(static_cast<const RefType &>(*this)); in drop_front()
78 RefType drop_back(uint64_t N) const { in drop_back()
80 return RefType(); in drop_back()
82 RefType Result(static_cast<const RefType &>(*this)); in drop_back()
98 RefType keep_front(uint64_t N) const { in keep_front()
104 RefType keep_back(uint64_t N) const { in keep_back()
111 RefType drop_symmetric(uint64_t N) const { in drop_symmetric()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp581 if (const auto *RefType = ParmType->getAs<RValueReferenceType>()) { in findFunctionArgMutation() local
582 if (!RefType->getPointeeType().getQualifiers() && in findFunctionArgMutation()
583 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DCanonicalType.h625 if (CanQual<ReferenceType> RefType = getAs<ReferenceType>())
626 return RefType->getPointeeType();
H A DType.h6843 if (const auto *RefType = (*this)->getAs<ReferenceType>())
6844 return RefType->getPointeeType();
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOverload.cpp4744 const ReferenceType *RefType in FindConversionForRefInit() local
4746 if (RefType && !RefType->getPointeeType()->isFunctionType()) in FindConversionForRefInit()
4764 const ReferenceType *RefType = in FindConversionForRefInit() local
4766 if (!RefType || in FindConversionForRefInit()
4767 (!RefType->isLValueReferenceType() && in FindConversionForRefInit()
4768 !RefType->getPointeeType()->isFunctionType())) in FindConversionForRefInit()
H A DSemaDeclAttr.cpp5383 } else if (const auto *RefType = Ty->getAs<ReferenceType>()) { in isValidSwiftIndirectResultType() local
5384 Ty = RefType->getPointeeType(); in isValidSwiftIndirectResultType()
5395 } else if (const auto *RefType = Ty->getAs<ReferenceType>()) { in isValidSwiftErrorResultType() local
5396 Ty = RefType->getPointeeType(); in isValidSwiftErrorResultType()
H A DSemaDeclCXX.cpp1290 QualType RefType = in checkTupleLikeDecomposition() local
1292 if (RefType.isNull()) in checkTupleLikeDecomposition()
1296 B->getDeclName().getAsIdentifierInfo(), RefType, in checkTupleLikeDecomposition()
H A DSemaExpr.cpp18890 if (const ReferenceType *RefType = CaptureType->getAs<ReferenceType>()){ in captureInLambda() local
18891 if (!RefType->getPointeeType()->isFunctionType()) in captureInLambda()
18892 CaptureType = RefType->getPointeeType(); in captureInLambda()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp3166 if (const auto *RefType = getTypePtr()->getAs<ReferenceType>()) in getNonLValueExprType() local
3167 return RefType->getPointeeType(); in getNonLValueExprType()
H A DExpr.cpp3368 bool RefType = Field->getType()->isReferenceType(); in isConstantInitializer() local
3369 if (!Elt->isConstantInitializer(Ctx, RefType, Culprit)) in isConstantInitializer()