[all-commits] [llvm/llvm-project] c9987f: [lldb][PDB] Rename GetDeclarationForSymbol() -> Ad...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Fri Mar 17 06:41:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9987f0ac81a3d00be7627022372551bed61e6c1
      https://github.com/llvm/llvm-project/commit/c9987f0ac81a3d00be7627022372551bed61e6c1
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp

  Log Message:
  -----------
  [lldb][PDB] Rename GetDeclarationForSymbol() -> AddSourceInfoToDecl()

The old name of this function was confusing for me, when I started working on the PDB parser. The new name clearifies that the function adds file, line and column (typically referred as source info) and indicates that the information is stored in the provided decl parameter.

Reviewed By: DavidSpickett

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




More information about the All-commits mailing list