[all-commits] [llvm/llvm-project] ad50c8: [clang-format] Fix MSVC "unsafe use of type 'bool'...

nullptr-cpp via All-commits all-commits at lists.llvm.org
Tue Feb 2 18:51:43 PST 2021


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

  Changed paths:
    M clang/lib/Format/BreakableToken.cpp

  Log Message:
  -----------
  [clang-format] Fix MSVC "unsafe use of type 'bool' in operation" warning (NFC)

MSVC warning:
```
\llvm-project\clang\lib\Format\BreakableToken.cpp(1002): warning C4804: '-': unsafe use of type 'bool' in operation
```




More information about the All-commits mailing list