This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix definitions in headers check to respect qualifiers
ClosedPublic

Authored by kadircet on Sep 5 2019, 12:15 AM.

Details

Summary

The check was generating a fix without taking qualifiers in return type
into account. This patch changes the insertion location to be before qualifers.

Diff Detail

Repository
rL LLVM

Event Timeline

kadircet created this revision.Sep 5 2019, 12:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 5 2019, 12:15 AM
gribozavr accepted this revision.Sep 5 2019, 1:00 AM
This revision is now accepted and ready to land.Sep 5 2019, 1:00 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 5 2019, 1:11 AM
hokein added a subscriber: hokein.Sep 5 2019, 2:23 AM

thanks for the fix.