[PATCH] D64428: Teach `llvm-pdbutil pretty -native` about `-injected-sources`
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 16:52:41 PDT 2019
thakis added inline comments.
================
Comment at: llvm/lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp:40
+public:
+ NativeInjectedSource(InjectedSourceStream::const_iterator I,
+ PDBFile &File, const PDBStringTable &Strings)
----------------
rnk wrote:
> I think this class only uses `I->second` throughout, so would it be simpler to take a reference to the hash table value? I think it's SrcHeaderBlockEntry, right? I think that would be more readable, since we aren't iterating, we shouldn't need an iterator, we're just looking at one source file entry.
Good suggestion, done.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64428/new/
https://reviews.llvm.org/D64428
More information about the llvm-commits
mailing list