[cfe-dev] problem report

Kim Gadecki via cfe-dev cfe-dev at lists.llvm.org
Sat Sep 16 19:47:16 PDT 2017


Hi guys,

I noticed a problem in the clang source code.

In ASTConsumers.cpp, someone edited it to say the following at line 502

     case Decl::Friend: {
       Out << "<friend>";
       if (const NamedDecl *ND = cast<FriendDecl>(I)->getFriendDecl())
         Out << ' ' << *ND;
       Out << "\n";
       break;
     }

It causes a *fatal *error.

commit 870fa3969cf0e9e914b21be0b8351f4b8b907eae


Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170917/17e387f4/attachment.html>


More information about the cfe-dev mailing list