This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix handling of methods with try-statement as a body in modernize-use-override
ClosedPublic

Authored by idlecode on Feb 15 2017, 11:20 AM.

Details

Summary

Fix generated by modernize-use-override caused syntax error when method
used try-statement as a body. override keyword was inserted after last
declaration token which happened to be a try keyword.

This fixes PR27119.

Diff Detail

Repository
rL LLVM

Event Timeline

idlecode created this revision.Feb 15 2017, 11:20 AM
This revision is now accepted and ready to land.Feb 17 2017, 4:41 AM
This revision was automatically updated to reflect the committed changes.