[all-commits] [llvm/llvm-project] dd2be1: [gcov] Silence warning: comparison of integers of ...
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Tue May 25 15:46:56 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dd2be15ff91a9a93387afbe0789f4de3376c0c0f
https://github.com/llvm/llvm-project/commit/dd2be15ff91a9a93387afbe0789f4de3376c0c0f
Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
Date: 2021-05-25 (Tue, 25 May 2021)
Changed paths:
M compiler-rt/lib/profile/GCDAProfiling.c
Log Message:
-----------
[gcov] Silence warning: comparison of integers of different signs
When building with Clang 11 on Windows, silence the following:
[432/5643] Building C object projects\compiler-rt\lib\profile\CMakeFiles\clang_rt.profile-x86_64.dir\GCDAProfiling.c.obj
F:\aganea\llvm-project\compiler-rt\lib\profile\GCDAProfiling.c(464,13): warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (val != (gcov_version >= 90 ? GCOV_TAG_OBJECT_SUMMARY
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Commit: 20c9a44ac0164a657329020c0b3deabab3625688
https://github.com/llvm/llvm-project/commit/20c9a44ac0164a657329020c0b3deabab3625688
Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
Date: 2021-05-25 (Tue, 25 May 2021)
Changed paths:
M llvm/utils/benchmark/include/benchmark/benchmark.h
Log Message:
-----------
[benchmark] Silence 'suggest override' and 'missing override' warnings
When building with Clang 11 on Windows, silence the following:
F:\aganea\llvm-project\llvm\utils\benchmark\include\benchmark/benchmark.h(955,8): warning: 'Run' overrides a member function but is not marked 'override' [-Wsuggest-override]
void Run(State& st);
^
F:\aganea\llvm-project\llvm\utils\benchmark\include\benchmark/benchmark.h(895,16): note: overridden virtual function is here
virtual void Run(State& state) = 0;
^
1 warning generated.
Compare: https://github.com/llvm/llvm-project/compare/e5d227e95ca1...20c9a44ac016
More information about the All-commits
mailing list