This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix a crash issue on misc-virtual-near-miss check.
ClosedPublic

Authored by hokein on Feb 3 2016, 7:54 AM.

Details

Summary

The crash is caused by triggering a Assertion failed in DeclCXX.h when the
check detects non-defined class return type in a class method declaration.

Diff Detail

Event Timeline

hokein updated this revision to Diff 46787.Feb 3 2016, 7:54 AM
hokein retitled this revision from to [clang-tidy] Fix a crash issue on misc-virtual-near-miss check..
hokein updated this object.
hokein set the repository for this revision to rL LLVM.
hokein added a subscriber: cfe-commits.
congliu accepted this revision.Feb 3 2016, 7:58 AM
congliu edited edge metadata.

LGTM. Thanks!

This revision is now accepted and ready to land.Feb 3 2016, 7:58 AM
alexfh accepted this revision.Feb 3 2016, 8:28 AM
alexfh edited edge metadata.
This revision was automatically updated to reflect the committed changes.