forked from OSchip/llvm-project
[NFCI][clang-tidy] FunctionCognitiveComplexityCheck::check(): try to fix windows arm build bots
http://lab.llvm.org:8011/builders/llvm-clang-win-x-armv7l/builds/1482/steps/build-llvm-project/logs/stdio http://lab.llvm.org:8011/builders/llvm-clang-win-x-aarch64/builds/3285/steps/build-llvm-project/logs/stdio
This commit is contained in:
parent
0ce6d6b46e
commit
1596cc8350
|
@ -533,7 +533,7 @@ void FunctionCognitiveComplexityCheck::check(
|
|||
// Increase, on the other hand, can be 0.
|
||||
|
||||
diag(Detail.Loc, Msgs[MsgId], DiagnosticIDs::Note)
|
||||
<< Increase << Detail.Nesting << 1 + Detail.Nesting;
|
||||
<< (unsigned)Increase << (unsigned)Detail.Nesting << 1 + Detail.Nesting;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue