[PATCH] D44764: [clangd] Use a header for common inclusions for tests

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 26 01:59:48 PDT 2018


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





More information about the cfe-commits mailing list