Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-prantl committed Jul 22, 2020
1 parent 6f43711 commit 6dbd477
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Expand Up @@ -363,7 +363,7 @@ TEST_F(SymbolFilePDBTests, TestSimpleClassTypes) {
CompilerType compiler_type = udt_type->GetForwardCompilerType();
EXPECT_TRUE(TypeSystemClang::IsClassType(compiler_type.GetOpaqueQualType()));
EXPECT_EQ(GetGlobalConstantInteger(session, "sizeof_Class"),
udt_type->GetByteSize());
udt_type->GetByteSize(nullptr));
}

TEST_F(SymbolFilePDBTests, TestNestedClassTypes) {
Expand Down Expand Up @@ -417,7 +417,7 @@ TEST_F(SymbolFilePDBTests, TestNestedClassTypes) {
EXPECT_TRUE(TypeSystemClang::IsClassType(compiler_type.GetOpaqueQualType()));

EXPECT_EQ(GetGlobalConstantInteger(session, "sizeof_NestedClass"),
udt_type->GetByteSize());
udt_type->GetByteSize(nullptr));
}

TEST_F(SymbolFilePDBTests, TestClassInNamespace) {
Expand Down Expand Up @@ -461,7 +461,7 @@ TEST_F(SymbolFilePDBTests, TestClassInNamespace) {
EXPECT_TRUE(TypeSystemClang::IsClassType(compiler_type.GetOpaqueQualType()));

EXPECT_EQ(GetGlobalConstantInteger(session, "sizeof_NSClass"),
udt_type->GetByteSize());
udt_type->GetByteSize(nullptr));
}

TEST_F(SymbolFilePDBTests, TestEnumTypes) {
Expand Down Expand Up @@ -491,7 +491,7 @@ TEST_F(SymbolFilePDBTests, TestEnumTypes) {
std::string sizeof_var = "sizeof_";
sizeof_var.append(Enum);
EXPECT_EQ(GetGlobalConstantInteger(session, sizeof_var),
enum_type->GetByteSize());
enum_type->GetByteSize(nullptr));
}
}

Expand Down Expand Up @@ -539,7 +539,7 @@ TEST_F(SymbolFilePDBTests, TestTypedefs) {
std::string sizeof_var = "sizeof_";
sizeof_var.append(Typedef);
EXPECT_EQ(GetGlobalConstantInteger(session, sizeof_var),
typedef_type->GetByteSize());
typedef_type->GetByteSize(nullptr));
}
}

Expand Down

0 comments on commit 6dbd477

Please sign in to comment.