[compiler-rt] r289851 - sanitizers: silence -pedantic warning

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 11:06:46 PST 2016


thanks!

On Thu, Dec 15, 2016 at 10:54 AM, Saleem Abdulrasool via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: compnerd
> Date: Thu Dec 15 12:54:25 2016
> New Revision: 289851
>
> URL: http://llvm.org/viewvc/llvm-project?rev=289851&view=rev
> Log:
> sanitizers: silence -pedantic warning
>
>   projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cc:142:2:
> warning: extra ';' [-Wpedantic]
>    };  // namespace
>     ^
>
> Identified by gcc 6.
>
> Modified:
>     compiler-rt/trunk/lib/sanitizer_common/sanitizer_
> coverage_libcdep_new.cc
>
> Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_
> coverage_libcdep_new.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/
> sanitizer_common/sanitizer_coverage_libcdep_new.cc?rev=
> 289851&r1=289850&r2=289851&view=diff
> ============================================================
> ==================
> --- compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cc
> (original)
> +++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cc
> Thu Dec 15 12:54:25 2016
> @@ -139,7 +139,7 @@ class TracePcGuardController {
>
>  static TracePcGuardController pc_guard_controller;
>
> -};  // namespace
> +}  // namespace
>
>  extern "C" {
>  SANITIZER_INTERFACE_ATTRIBUTE void __sanitizer_dump_coverage(  // NOLINT
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161215/8685fe58/attachment.html>


More information about the llvm-commits mailing list