[all-commits] [llvm/llvm-project] adf670: [clang] [NFC] Add `const` to a parameter that's no...

Quuxplusone via All-commits all-commits at lists.llvm.org
Fri Mar 4 09:43:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: adf6703f75b09564ca887b0eea0c3b37e65237d7
      https://github.com/llvm/llvm-project/commit/adf6703f75b09564ca887b0eea0c3b37e65237d7
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaStmt.cpp

  Log Message:
  -----------
  [clang] [NFC] Add `const` to a parameter that's not modified.

Reviewed as part of D119184.


  Commit: f0891cd61b2f7cd57d906406ae785722bfd87603
      https://github.com/llvm/llvm-project/commit/f0891cd61b2f7cd57d906406ae785722bfd87603
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/test/SemaTemplate/concepts.cpp

  Log Message:
  -----------
  [clang] [concepts] Check constrained-auto return types for void-returning functions

Fixes #49188.

Differential Revision: https://reviews.llvm.org/D119184


Compare: https://github.com/llvm/llvm-project/compare/588d97e24619...f0891cd61b2f


More information about the All-commits mailing list