[llvm] r211950 - Adding some trailing whitespace after a comment previously ending with \ to ensure that it isn't lexed as a multiline comment. This silences some -Wcomment warnings.
David Blaikie
dblaikie at gmail.com
Fri Jun 27 12:54:39 PDT 2014
On Fri, Jun 27, 2014 at 12:05 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> Author: aaronballman
> Date: Fri Jun 27 14:05:17 2014
> New Revision: 211950
>
> URL: http://llvm.org/viewvc/llvm-project?rev=211950&view=rev
> Log:
> Adding some trailing whitespace after a comment previously ending with \ to ensure that it isn't lexed as a multiline comment. This silences some -Wcomment warnings.
I believe clang's -Wcomment is smart enough not to warn here. Should
we just disable GCC's?
>
> Modified:
> llvm/trunk/unittests/Analysis/LazyCallGraphTest.cpp
>
> Modified: llvm/trunk/unittests/Analysis/LazyCallGraphTest.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Analysis/LazyCallGraphTest.cpp?rev=211950&r1=211949&r2=211950&view=diff
> ==============================================================================
> --- llvm/trunk/unittests/Analysis/LazyCallGraphTest.cpp (original)
> +++ llvm/trunk/unittests/Analysis/LazyCallGraphTest.cpp Fri Jun 27 14:05:17 2014
> @@ -42,15 +42,15 @@ std::unique_ptr<Module> parseAssembly(co
> // IR forming a call graph with a diamond of triangle-shaped SCCs:
> //
> // d1
> -// / \
> +// / \
> // d3--d2
> -// / \
> +// / \
> // b1 c1
> -// / \ / \
> +// / \ / \
> // b3--b2 c3--c2
> // \ /
> // a1
> -// / \
> +// / \
> // a3--a2
> //
> // All call edges go up between SCCs, and clockwise around the SCC.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list