[PATCH] D75483: [Sema] Fix a crash when attaching comments to an implicit decl

Jan Korous via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 15:39:28 PST 2020


jkorous accepted this revision.
jkorous added a comment.
This revision is now accepted and ready to land.

Thanks a bunch for fixing this!

That also means we can skip all the implicit declarations from the `for (const Decl *D : Decls) {` just a couple lines below your fix since implicit declaration can hardly have a doc comment attached... I'll send a patch.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75483/new/

https://reviews.llvm.org/D75483





More information about the cfe-commits mailing list