ilya-biryukov added a comment.

In https://reviews.llvm.org/D44764#1046766, @sammccall wrote:

>


You raise a good point. If we can get away with using `operator <<` everywhere, 
it is definitely the best approach.
Then our rule of thumb is: never define `PrintTo` overload, define `operator 
<<` for a type instead, right?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D44764



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

Reply via email to