Home
last modified time | relevance | path

Searched refs:NextTy (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h114 typename NextTy, typename... MoreTys>
115 class TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy,
117 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
120 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
124 static const bool value = alignof(PrevTy) < alignof(NextTy);
144 static const NextTy *
146 TrailingObjectsBase::OverloadToken<NextTy>) { in getTrailingObjectsImpl() argument
153 return reinterpret_cast<const NextTy *>( in getTrailingObjectsImpl()
154 alignAddr(Ptr, Align::Of<NextTy>())); in getTrailingObjectsImpl()
156 return reinterpret_cast<const NextTy *>(Pt in getTrailingObjectsImpl()
161 getTrailingObjectsImpl(BaseTy * Obj,TrailingObjectsBase::OverloadToken<NextTy>) getTrailingObjectsImpl() argument
[all...]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp93 QualType NextTy = Next->getType(); in deepTypeCheckForDevice() local
95 if (!Visited.insert(NextTy).second) in deepTypeCheckForDevice()
107 if (Check(NextTy, Next)) { in deepTypeCheckForDevice()
115 while (NextTy->isAnyPointerType() || NextTy->isArrayType() || in deepTypeCheckForDevice()
116 NextTy->isReferenceType()) { in deepTypeCheckForDevice()
117 if (NextTy->isArrayType()) in deepTypeCheckForDevice()
118 NextTy = QualType{NextTy->getArrayElementTypeNoTypeQual(), 0}; in deepTypeCheckForDevice()
120 NextTy = NextTy->getPointeeType(); in deepTypeCheckForDevice()
121 if (Check(NextTy, Next)) { in deepTypeCheckForDevice()
128 if (const auto *RecDecl = NextTy->getAsRecordDecl()) { in deepTypeCheckForDevice()