[all-commits] [llvm/llvm-project] 258c2a: [clang][Sema][NFC] Merge two if statements

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Dec 19 00:46:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 258c2ae9dfc8a16c837975efdaad7aeaa1e647be
      https://github.com/llvm/llvm-project/commit/258c2ae9dfc8a16c837975efdaad7aeaa1e647be
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

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

  Log Message:
  -----------
  [clang][Sema][NFC] Merge two if statements


  Commit: 42e5214a9b6f1bc2fbed283f7adb30f733b5a351
      https://github.com/llvm/llvm-project/commit/42e5214a9b6f1bc2fbed283f7adb30f733b5a351
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

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

  Log Message:
  -----------
  [clang][Sema][NFC] Clean up ShouldDiagnoseUnusedDecl

Const qualify a few locals, merge two if statements and use
dyn_cast_if_present instead of _or_null.


  Commit: b0ac829d7180e1d669ae218fef8d3f4da70394ed
      https://github.com/llvm/llvm-project/commit/b0ac829d7180e1d669ae218fef8d3f4da70394ed
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M clang/lib/AST/Decl.cpp

  Log Message:
  -----------
  [clang][AST][NFC] const-qualify a few locals in isPlaceholderVar


Compare: https://github.com/llvm/llvm-project/compare/73cf48515119...b0ac829d7180


More information about the All-commits mailing list