SuccessChanges

Summary

  1. SmallVector.h - remove unused MathExtras.h header. NFCI. (details)
  2. BPFISelDAGToDAG.cpp - don't dereference a dyn_cast<> result. NFCI. (details)
  3. PatternMatch.h - wrap WrapFlags tests inside brackets to stop static analysis warning about & vs && usage. NFCI. (details)
  4. Fix implicit fall through compiler warning. NFCI. (details)
  5. BreadthFirstIterator.h - fix uninitialized variable warning in default constructor. NFCI. (details)
  6. SimplifyCFG.cpp - remove dead early-return code added at rGcc63203908da. NFCI. (details)
Commit 139a36454f842c7936ba461279e862488e894637 by llvm-dev
SmallVector.h - remove unused MathExtras.h header. NFCI.
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
Commit ab2d29555293f6bde7096e1f684a1957ee9f9c92 by llvm-dev
BPFISelDAGToDAG.cpp - don't dereference a dyn_cast<> result. NFCI.

Use cast<> instead which will assert that the cast is correct and not just return null.

Fixes static analysis warnings.
The file was modifiedllvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
Commit 6e90192fdfef17d48d26a0fba067410e36d9e636 by llvm-dev
PatternMatch.h - wrap WrapFlags tests inside brackets to stop static analysis warning about & vs && usage. NFCI.
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
Commit 937c4cffd02420607ada23d3d25078df9bf553cb by llvm-dev
Fix implicit fall through compiler warning. NFCI.
The file was modifiedllvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
Commit 5fc8cdcb03e380e6193464eef499d373dcde3708 by llvm-dev
BreadthFirstIterator.h - fix uninitialized variable warning in default constructor. NFCI.
The file was modifiedllvm/include/llvm/ADT/BreadthFirstIterator.h
Commit 9ced408fe97478309cb19ca241009ade4ad6315c by llvm-dev
SimplifyCFG.cpp - remove dead early-return code added at rGcc63203908da. NFCI.

We've already checked that ScanIdx == 0 a few lines above.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp