aaron.ballman added inline comments.
================ Comment at: clang/include/clang/Sema/DeclSpec.h:1509 + SourceLocation getTrailingReturnTypeLoc() const { + return SourceLocation::getFromRawEncoding(TrailingReturnTypeLoc); + } ---------------- aaronpuchert wrote: > aaron.ballman wrote: > > Should we `assert(HasTrailingReturnType);`? > Makes sense to me. Ok if I add the assertion to this and the previous > function for consistency? Fine by me! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D90129/new/ https://reviews.llvm.org/D90129 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits