[all-commits] [llvm/llvm-project] 8093d3: Fix switch covers all cases static analyzer warnin...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jan 29 09:26:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8093d37ed2548ff5c8d6d7c51bd0431afbbf4209
      https://github.com/llvm/llvm-project/commit/8093d37ed2548ff5c8d6d7c51bd0431afbbf4209
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

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

  Log Message:
  -----------
  Fix switch covers all cases static analyzer warning. NFCI.


  Commit: 25b8e96388197147a14413c0b53c41f918fb49c0
      https://github.com/llvm/llvm-project/commit/25b8e96388197147a14413c0b53c41f918fb49c0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAGCombiner] ISD::MUL - use general SelectionDAG::FoldConstantArithmetic

This handles all the constant splat / opaque testing for us.


Compare: https://github.com/llvm/llvm-project/compare/6a74641e723b...25b8e9638819


More information about the All-commits mailing list