This is an archive of the discontinued LLVM Phabricator instance.

Keep invalid functions as part of the AST
ClosedPublic

Authored by ogoffart on Apr 30 2016, 4:47 AM.

Details

Summary

This is an alternative to http://reviews.llvm.org/D19327
We want to keep all the invalid function declarations as part of the AST.

This patch depends also on http://reviews.llvm.org/D19763 otherwise the tests in SemaCXX/function)redecl.cxx would fail as some invalid declarations would be hiding previous ones, preventing errors

Diff Detail

Repository
rL LLVM

Event Timeline

ogoffart updated this revision to Diff 55714.Apr 30 2016, 4:47 AM
ogoffart retitled this revision from to Keep invalid functions as part of the AST.
ogoffart updated this object.
ogoffart added reviewers: cfe-commits, rsmith.
rsmith accepted this revision.Jun 16 2016, 12:18 PM
rsmith edited edge metadata.
This revision is now accepted and ready to land.Jun 16 2016, 12:18 PM
This revision was automatically updated to reflect the committed changes.