[llvm] r207629 - Fix multiline comment warning.

Chandler Carruth chandlerc at google.com
Wed Apr 30 03:44:08 PDT 2014


On Wed, Apr 30, 2014 at 3:29 AM, Evgeniy Stepanov <eugeni.stepanov at gmail.com
> wrote:

> Fix multiline comment warning.
>
> ../unittests/Analysis/LazyCallGraphTest.cpp:45:1: warning: multi-line
> comment [-Wcomment]
>  //        /  \
>  ^
>

Is this a GCC warning? We should just disable it. It is quite useless.

IIRC, Clang's variant of the warning helpfully looks at the next line and
sees that it too is a comment, and thus there is no surprising behavior.
It's super nice in a project like LLVM where you want to use ascii art
graph diagrams... =/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140430/6d85cb46/attachment.html>


More information about the llvm-commits mailing list