[llvm-commits] [llvm] r160813 - in /llvm/trunk: include/llvm/Support/Debug.h lib/Support/Debug.cpp

Robinson, Paul Paul.Robinson at am.sony.com
Fri Jul 27 14:38:09 PDT 2012


> --- llvm/trunk/include/llvm/Support/Debug.h (original)
> +++ llvm/trunk/include/llvm/Support/Debug.h Thu Jul 26 15:38:52 2012
> @@ -19,7 +19,7 @@
>  // foo class.
>  //
>  // When compiling without assertions, the -debug-* options and all code in
> -// DEBUG() statements disappears, so it does not effect the runtime of the code.
> +// DEBUG() statements disappear, so it does not effect the runtime of the code.
>  //
>  //===----------------------------------------------------------------------===//

The subject of "disappears" is "code" not "statements" so "disappears" is correct.
However, "effect" should be "affect".

// DEBUG() statements disappears, so it does not affect the runtime of the code.

--paul the picky




More information about the llvm-commits mailing list