aaronpuchert marked an inline comment as done.
aaronpuchert added inline comments.


================
Comment at: clang/include/clang/Sema/DeclSpec.h:1509
+    SourceLocation getTrailingReturnTypeLoc() const {
+      return SourceLocation::getFromRawEncoding(TrailingReturnTypeLoc);
+    }
----------------
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?


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

Reply via email to