[all-commits] [llvm/llvm-project] 89453d: [NFC]: Fix PVS Studio warning in LoopNestAnalysis
whitneywhtsang via All-commits
all-commits at lists.llvm.org
Sat Nov 9 21:44:09 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 89453d186dc6ef985965f621efaa409f0ab7ede2
https://github.com/llvm/llvm-project/commit/89453d186dc6ef985965f621efaa409f0ab7ede2
Author: Tsang Whitney W.H <whitneyt at recycler.canlab.ibm.com>
Date: 2019-11-10 (Sun, 10 Nov 2019)
Changed paths:
M llvm/lib/Analysis/LoopCacheAnalysis.cpp
Log Message:
-----------
[NFC]: Fix PVS Studio warning in LoopNestAnalysis
Summary:This patch fixes the following warnings uncovered by PVS
Studio:
/home/xbolva00/LLVM/llvm-project/llvm/lib/Analysis/LoopCacheAnalysis.cpp
353 warn V612 An unconditional 'return' within a loop.
/home/xbolva00/LLVM/llvm-project/llvm/lib/Analysis/LoopCacheAnalysis.cpp
456 err V502 Perhaps the '?:' operator works in a different way than it
was expected. The '?:' operator has a lower priority than the '=='
operator.
Authored By:etiotto
Reviewer:Meinersbur, kbarton, bmahjour, Whitney, xbolva00
Reviewed By:xbolva00
Subscribers:hiraditya, llvm-commits
Tag:LLVM
Differential Revision:https://reviews.llvm.org/D69821
More information about the All-commits
mailing list