[all-commits] [llvm/llvm-project] c90c26: [CSSPGO] Fix MSVC initializing truncation warning ...

nullptr-cpp via All-commits all-commits at lists.llvm.org
Tue Feb 2 19:06:45 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c90c261e44e7251163602f5e0dab10c8a374a90c
      https://github.com/llvm/llvm-project/commit/c90c261e44e7251163602f5e0dab10c8a374a90c
  Author: Yang Fan <nullptr.cpp at gmail.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h

  Log Message:
  -----------
  [CSSPGO] Fix MSVC initializing truncation warning (NFC)

MSVC warning:
```
\llvm-project\llvm\include\llvm\Transforms\IPO\SampleProfileProbe.h(65): warning C4305: 'initializing': truncation from 'double' to 'const float'
```




More information about the All-commits mailing list