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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Agreed, the original name sounds like a const method.
Although I can see why it might have been this way because before optional there was no way to have a null return. So it's return a bool and a ref to the result.