This revision was automatically updated to reflect the committed changes.
Closed by commit rGea201e83e292: [AST][ObjC] Fix crash when printing invalid
objc categories (authored by dgoldman).
Changed prior to commit:
https://reviews.llvm.org/D83513?vs=276841&id=277126#toc
Repository:
rG LLVM
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/unittests/AST/DeclPrinterTest.cpp:180
+ return PrintedDeclMatches(Code, Args, NodeMatch, ExpectedPrinted, "input.m",
+
dgoldman created this revision.
dgoldman added reviewers: sammccall, gribozavr.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
If no valid interface definition was found previously we would crash.
With this change instead we just print `<>` in place
of the NULL interface.