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

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.

Reviewers: gribozavr

Subscribers: xazax.hun, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67213

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@371022 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed