[lldb][PDB] Rename GetDeclarationForSymbol() -> AddSourceInfoToDecl()
authorStefan Gränitz <stefan.graenitz@gmail.com>
Fri, 17 Mar 2023 13:37:26 +0000 (14:37 +0100)
committerStefan Gränitz <stefan.graenitz@gmail.com>
Fri, 17 Mar 2023 13:40:17 +0000 (14:40 +0100)
commitc9987f0ac81a3d00be7627022372551bed61e6c1
tree7fc3646d8347eb0076c70eea7426bdc0a10f204f
parent687b5b9a0cff696a42ceccaaf935aa57b2ac5f60
[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
lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp