Skip to content

Commit 7991f67

Browse files
authored
Apply suggestions from code review
1 parent 404ab43 commit 7991f67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/unittests/Support/Casting.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ TEST(Casting, StaticCastPredicate) {
565565
uint32_t Value = 1;
566566

567567
static_assert(
568-
(std::is_same_v<decltype(StaticCastTo<uint64_t>(Value)), uint64_t>));
568+
std::is_same_v<decltype(StaticCastTo<uint64_t>(Value)), uint64_t>);
569569
}
570570

571571
TEST(Casting, LLVMRTTIPredicates) {
@@ -588,7 +588,7 @@ TEST(Casting, LLVMRTTIPredicates) {
588588
Base *BD = &D;
589589
Base *Null = nullptr;
590590

591-
// pointers
591+
// Pointers.
592592
EXPECT_EQ(DynCastTo<Derived>(BD), &D);
593593
EXPECT_EQ(CastTo<Derived>(BD), &D);
594594
EXPECT_EQ(DynCastTo<Derived>(&B), nullptr);

0 commit comments

Comments
 (0)