================ @@ -1117,6 +1117,32 @@ class ObjCInterfaceTypeLoc : public ConcreteTypeLoc<ObjCObjectTypeLoc, } }; +struct BoundsAttributedLocInfo {}; +class BoundsAttributedTypeLoc + : public ConcreteTypeLoc<UnqualTypeLoc, BoundsAttributedTypeLoc, + BoundsAttributedType, BoundsAttributedLocInfo> { +public: + TypeLoc getInnerLoc() const { return this->getInnerTypeLoc(); } + QualType getInnerType() const { return this->getTypePtr()->desugar(); } + void initializeLocal(ASTContext &Context, SourceLocation Loc) { + // nothing to do + } + unsigned getLocalDataAlignment() const { return 1; } + unsigned getLocalDataSize() const { return 0; } ---------------- AaronBallman wrote:
Do we need to implement these at all? `ConcreteTypeLoc` should take care of that automatically I thought? https://github.com/llvm/llvm-project/pull/78000 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits