From e204a6c9a3d290907e90742a53c10a2f12779945 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 2 May 2017 18:00:13 +0000 Subject: 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 --- llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp') 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()); -- cgit v1.2.3