[all-commits] [llvm/llvm-project] 7505ae: [clang] Pacify GCC warning. NFC.

darkbuck via All-commits all-commits at lists.llvm.org
Mon Jan 3 08:07:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7505aeefc4e615520e2c822b9647dad4a48276b9
      https://github.com/llvm/llvm-project/commit/7505aeefc4e615520e2c822b9647dad4a48276b9
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2022-01-03 (Mon, 03 Jan 2022)

  Changed paths:
    M clang/include/clang/Basic/Diagnostic.h
    M clang/include/clang/Basic/PartialDiagnostic.h

  Log Message:
  -----------
  [clang] Pacify GCC warning. NFC.

- This partially reverts d677a7cb056b17145a50ec8ca2ab6d5f4c494749 to
  pacify GCC warnings like
  ```
  base class should be explicitly initialized in the copy constructor
  ```
- Shall we keep turning on option `IgnoreBaseInCopyConstructors` when
  enabling `readability-redundant-member-init` check?




More information about the All-commits mailing list