diff options
author | Zachary Turner <zturner@google.com> | 2017-05-02 18:00:13 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-05-02 18:00:13 +0000 |
commit | e204a6c9a3d290907e90742a53c10a2f12779945 (patch) | |
tree | b220e2fcb8a48770a10a116aa415ba6a47b97b8b /llvm/unittests/DebugInfo | |
parent | 57f5046b4af5893a8d598f9d9043ce8c47b58bcb (diff) | |
download | bcm5719-llvm-e204a6c9a3d290907e90742a53c10a2f12779945.tar.gz bcm5719-llvm-e204a6c9a3d290907e90742a53c10a2f12779945.zip |
Rename pdb::StringTable -> pdb::PDBStringTable.
With the forthcoming codeview::StringTable which a pdb::StringTable
would hold an instance of as one member, this ambiguity becomes
confusing. Rename to PDBStringTable to avoid this.
llvm-svn: 301948
Diffstat (limited to 'llvm/unittests/DebugInfo')
-rw-r--r-- | llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp b/llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp index 7c4838778e4..514cdc8d578 100644 --- a/llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp +++ b/llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp @@ -9,8 +9,8 @@ #include "ErrorChecking.h" -#include "llvm/DebugInfo/PDB/Native/StringTable.h" -#include "llvm/DebugInfo/PDB/Native/StringTableBuilder.h" +#include "llvm/DebugInfo/PDB/Native/PDBStringTable.h" +#include "llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h" #include "llvm/Support/BinaryByteStream.h" #include "llvm/Support/BinaryStreamReader.h" #include "llvm/Support/BinaryStreamWriter.h" @@ -27,7 +27,7 @@ class StringTableBuilderTest : public ::testing::Test {}; TEST_F(StringTableBuilderTest, Simple) { // Create /names table contents. - StringTableBuilder Builder; + PDBStringTableBuilder Builder; EXPECT_EQ(1U, Builder.insert("foo")); EXPECT_EQ(5U, Builder.insert("bar")); EXPECT_EQ(1U, Builder.insert("foo")); @@ -41,7 +41,7 @@ TEST_F(StringTableBuilderTest, Simple) { // Reads the contents back. BinaryByteStream InStream(Buffer, little); BinaryStreamReader Reader(InStream); - StringTable Table; + PDBStringTable Table; EXPECT_NO_ERROR(Table.load(Reader)); EXPECT_EQ(3U, Table.getNameCount()); |