Skip to content

Commit

Permalink
[cling] Use isPureVirtual
Browse files Browse the repository at this point in the history
Corresponding to the changes in:
- llvm/llvm-project#78463
  • Loading branch information
devajithvs committed Aug 28, 2024
1 parent 0ca4cee commit ab5c23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/cling/lib/Interpreter/ForwardDeclPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ namespace cling {
if (!hasTrailingReturn)
prettyPrintAttributes(D);

if (D->isPure())
if (D->isPureVirtual())
Out() << " = 0";
else if (D->isDeletedAsWritten())
Out() << " = delete";
Expand Down

0 comments on commit ab5c23c

Please sign in to comment.