Don't print name of EnumDecl if there is none
The function overload without PrintingPolicy is not available in LLVM 16, see https://reviews.llvm.org/D134813.
This commit is contained in:
parent
6bfe4c2213
commit
826478d826
@ -1364,7 +1364,6 @@ namespace cling {
|
||||
|
||||
bool ForwardDeclPrinter::shouldSkipImpl(EnumDecl *D) {
|
||||
if (!D->getIdentifier()){
|
||||
D->printName(Log());
|
||||
Log() << "Enum: Empty name\n";
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user