We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 404ab43 commit 7991f67Copy full SHA for 7991f67
llvm/unittests/Support/Casting.cpp
@@ -565,7 +565,7 @@ TEST(Casting, StaticCastPredicate) {
565
uint32_t Value = 1;
566
567
static_assert(
568
- (std::is_same_v<decltype(StaticCastTo<uint64_t>(Value)), uint64_t>));
+ std::is_same_v<decltype(StaticCastTo<uint64_t>(Value)), uint64_t>);
569
}
570
571
TEST(Casting, LLVMRTTIPredicates) {
@@ -588,7 +588,7 @@ TEST(Casting, LLVMRTTIPredicates) {
588
Base *BD = &D;
589
Base *Null = nullptr;
590
591
- // pointers
+ // Pointers.
592
EXPECT_EQ(DynCastTo<Derived>(BD), &D);
593
EXPECT_EQ(CastTo<Derived>(BD), &D);
594
EXPECT_EQ(DynCastTo<Derived>(&B), nullptr);
0 commit comments