ilya-biryukov added inline comments.

================
Comment at: clangd/Context.h:92
+  ContextBuilder derive() const &;
+  ContextBuilder derive() const &&;
+
----------------
sammccall wrote:
> `&&`, not `const&&` :-)
> 
> Maybe add a trailing `//takes ownership`
Right. Copy-paste is gonna kill me some day.
Added the comment, too. Although that should be obvious from the `&&` in the 
signature.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D40485



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to