[all-commits] [llvm/llvm-project] 90c1b0: [NFC] SimplifyCFGOptions: drop multi-parameter cto...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Wed Jul 15 15:49:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 90c1b0442a031d6cad686fdc4e5d3db03c3603a6
      https://github.com/llvm/llvm-project/commit/90c1b0442a031d6cad686fdc4e5d3db03c3603a6
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/SimplifyCFGOptions.h
    M llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp

  Log Message:
  -----------
  [NFC] SimplifyCFGOptions: drop multi-parameter ctor, use default member-init

Likewise, just use the builder pattern.
Taking multiple params is unmaintainable.




More information about the All-commits mailing list