[all-commits] [llvm/llvm-project] 096c03: [clang][sema][NFC] Make some local variables const

Timm Bäder via All-commits all-commits at lists.llvm.org
Fri Nov 18 07:19:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 096c033634d230fdb5eae4a0c3777e629cce0d82
      https://github.com/llvm/llvm-project/commit/096c033634d230fdb5eae4a0c3777e629cce0d82
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M clang/lib/Sema/SemaTemplate.cpp

  Log Message:
  -----------
  [clang][sema][NFC] Make some local variables const

We don't modify them. Also use auto here since we already wrote the full
type in the cast.


  Commit: 25bd9e10098a91623b63952967b6561d77f43c15
      https://github.com/llvm/llvm-project/commit/25bd9e10098a91623b63952967b6561d77f43c15
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M clang/lib/Parse/ParseStmt.cpp

  Log Message:
  -----------
  [clang][parse] Avoid creating StmtVectors every loop iteration


Compare: https://github.com/llvm/llvm-project/compare/3ae96e9eb8bf...25bd9e10098a


More information about the All-commits mailing list