[PATCH] Add a makefile check for misbehaving -Wcomment

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Thu Oct 23 15:49:40 PDT 2014


Hi echristo,

gcc's (4.7 at least) -Wcomment warns on line-comment -> backslash ->
newline -> line-comment, while clang doesn't.
If gcc behaves that way, silence -Wcomment.
cmake already has this.

http://reviews.llvm.org/D5946

Files:
  Makefile.config.in
  Makefile.rules
  autoconf/configure.ac
  configure
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5946.15356.patch
Type: text/x-patch
Size: 6968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141023/a9cfe93a/attachment.bin>


More information about the llvm-commits mailing list