summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-09-10 21:30:59 +0000
committerZachary Turner <zturner@google.com>2018-09-10 21:30:59 +0000
commitcae734588f2904dd6430460d10e4312faa4b550a (patch)
treece6978d24c6459486b4171ebb7147a1e1402c779 /llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
parent75822226917b552ee77f414c20a81373690b6c62 (diff)
downloadbcm5719-llvm-cae734588f2904dd6430460d10e4312faa4b550a.tar.gz
bcm5719-llvm-cae734588f2904dd6430460d10e4312faa4b550a.zip
[PDB] Change uint32_t to SymIndex wherever it makes sense.
Although it's just a typedef, it helps for readability. NFC. llvm-svn: 341863
Diffstat (limited to 'llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp')
-rw-r--r--llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
index 41b679825f1..f43404fed51 100644
--- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
+++ b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
@@ -68,7 +68,7 @@ class MockSession : public IPDBSession {
uint64_t getLoadAddress() const override { return 0; }
bool setLoadAddress(uint64_t Address) override { return false; }
std::unique_ptr<PDBSymbolExe> getGlobalScope() override { return nullptr; }
- std::unique_ptr<PDBSymbol> getSymbolById(uint32_t SymbolId) const override {
+ std::unique_ptr<PDBSymbol> getSymbolById(SymIndexId SymbolId) const override {
return nullptr;
}
std::unique_ptr<IPDBSourceFile>
OpenPOWER on IntegriCloud