forked from OSchip/llvm-project
Fix regression with ObjC method definitions and -ast-print
llvm-svn: 44088
This commit is contained in:
parent
bc92fd7542
commit
971d2f1242
|
@ -267,6 +267,9 @@ namespace {
|
|||
FD->getBody()->dumpPretty();
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
} else if (isa<ObjcMethodDecl>(D)) {
|
||||
// Do nothing, methods definitions are printed in
|
||||
// PrintObjcImplementationDecl.
|
||||
} else if (TypedefDecl *TD = dyn_cast<TypedefDecl>(D)) {
|
||||
PrintTypeDefDecl(TD);
|
||||
} else if (ObjcInterfaceDecl *OID = dyn_cast<ObjcInterfaceDecl>(D)) {
|
||||
|
|
Loading…
Reference in New Issue