Skip to content

Commit c4a59a9

Browse files
committed
[core] Use isPureVirtual
Matching the change in: - llvm/llvm-project#78463
1 parent 616c516 commit c4a59a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/metacling/src/TCling.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8902,7 +8902,7 @@ Long_t TCling::FuncTempInfo_Property(FuncTempInfo_t *ft_info) const
89028902
if (md->isVirtual()) {
89038903
property |= kIsVirtual;
89048904
}
8905-
if (md->isPure()) {
8905+
if (md->isPureVirtual()) {
89068906
property |= kIsPureVirtual;
89078907
}
89088908
if (const clang::CXXConstructorDecl *cd =

core/metacling/src/TClingMethodInfo.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ long TClingMethodInfo::Property() const
519519
if (md->isVirtual()) {
520520
property |= kIsVirtual;
521521
}
522-
if (md->isPure()) {
522+
if (md->isPureVirtual()) {
523523
property |= kIsPureVirtual;
524524
}
525525
if (const clang::CXXConstructorDecl *cd =

0 commit comments

Comments
 (0)