iains added a comment.

In D121590#3381344 <https://reviews.llvm.org/D121590#3381344>, @ChuanqiXu wrote:

> This looks a little bit odd. Is this consistent with GCC too?

It is consistent, GCC does not warm for this - but that was not the primary 
motivation in this case.

This is simply a convenience feature - considering that there are many C++ 
projects that use ".h" headers it saves the user from having to add 
"-xc++-header" in each case.

(since it is a convenience feature, it is non-essential, of course - but IMO 
useful even now)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121590/new/

https://reviews.llvm.org/D121590

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

Reply via email to