[all-commits] [llvm/llvm-project] 2552dc: [NFC][DwarfDebug] Prefer explicit to auto type ded...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Mon May 11 00:13:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2552dc5317e012f17f70a4845bc51c59ec237175
      https://github.com/llvm/llvm-project/commit/2552dc5317e012f17f70a4845bc51c59ec237175
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

  Log Message:
  -----------
  [NFC][DwarfDebug] Prefer explicit to auto type deduction

We should use explicit type instead of auto type deduction when
the type is so obvious. In addition, we remove ambiguity, since auto
type deduction sometimes is not that intuitive, so that could lead
us to some unwanted behavior.

This patch fixes that in the collectCallSiteParameters() from
DwarfDebug module.

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




More information about the All-commits mailing list