[all-commits] [llvm/llvm-project] c103f9: [RISCV] Use default member initializers for the fe...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Dec 15 12:38:24 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c103f9ef5a0e3180db8c9e94f9cd0b0e2a65375f
      https://github.com/llvm/llvm-project/commit/c103f9ef5a0e3180db8c9e94f9cd0b0e2a65375f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M clang/lib/Basic/Targets/RISCV.h

  Log Message:
  -----------
  [RISCV] Use default member initializers for the feature flags in RISCVTargetInfo. NFC

This avoids having to repeat all the flags in the constructor's
initializer list in the same order. This style is already used by
several other targets.




More information about the All-commits mailing list