[all-commits] [llvm/llvm-project] b1009e: Reland "[DebugInfo] Move constructor homing case i...

Amy Huang via All-commits all-commits at lists.llvm.org
Tue Aug 25 12:37:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b1009ee84fc0242bcebd07889306bf39d9b7170f
      https://github.com/llvm/llvm-project/commit/b1009ee84fc0242bcebd07889306bf39d9b7170f
  Author: Amy Huang <akhuang at google.com>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp

  Log Message:
  -----------
  Reland "[DebugInfo] Move constructor homing case in shouldOmitDefinition."

For some reason the ctor homing case was before the template
specialization case, and could have returned false too early.
I moved the code out into a separate function to avoid this.

This reverts commit 05777ab941063192b9ccb1775358a83a2700ccc1.




More information about the All-commits mailing list