[all-commits] [llvm/llvm-project] b4a2d3: [Sema] ICK_Function_Conversion is a third kind con...

Aaron Puchert via All-commits all-commits at lists.llvm.org
Sat Aug 29 09:43:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b4a2d36c3f74ea5574cd03a9c1a704bcffb1869e
      https://github.com/llvm/llvm-project/commit/b4a2d36c3f74ea5574cd03a9c1a704bcffb1869e
  Author: Aaron Puchert <aaron.puchert at sap.com>
  Date:   2020-08-29 (Sat, 29 Aug 2020)

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

  Log Message:
  -----------
  [Sema] ICK_Function_Conversion is a third kind conversion

Not sure if this has any effect, but it was inconsistent before.

Reviewed By: rsmith

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


  Commit: 85fce449dc43447bf9d75163bda81e157f5b73e7
      https://github.com/llvm/llvm-project/commit/85fce449dc43447bf9d75163bda81e157f5b73e7
  Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
  Date:   2020-08-29 (Sat, 29 Aug 2020)

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

  Log Message:
  -----------
  [Sema] Simplify ShouldDiagnoseUnusedDecl, NFC

Instead of writing to a flag and then returning based on that flag we
can also return directly. The flag name also doesn't provide additional
information, it just reflects the name of the function (isReferenced).


Compare: https://github.com/llvm/llvm-project/compare/5ec2b757cc7d...85fce449dc43


More information about the All-commits mailing list