[all-commits] [llvm/llvm-project] 1cf11d: [memprof] Disable pedantic warnings, suppress vari...

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Tue Nov 30 12:03:56 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cf11df5912896e9b0c632c86da286513c171114
      https://github.com/llvm/llvm-project/commit/1cf11df5912896e9b0c632c86da286513c171114
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M compiler-rt/lib/memprof/tests/CMakeLists.txt

  Log Message:
  -----------
  [memprof] Disable pedantic warnings, suppress variadic macro warning.

The memprof unit tests use an older version of gmock (included in the
repo) which does not build cleanly with -pedantic:
https://github.com/google/googletest/issues/2650
For now just silence the warning by disabling pedantic and add the
appropriate flags for gcc and clang.




More information about the All-commits mailing list