summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/frame
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2019-08-26 15:17:29 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2019-08-26 15:17:29 +0000
commit640230cc97f723a97fe8599e6b2fa1918bc235b8 (patch)
tree920b03f83582a8c41ca02536956b774e4bf0b5be /lldb/packages/Python/lldbsuite/test/python_api/frame
parent1c9aa70b042bef8ed976ecf05ac92f255cea1da5 (diff)
downloadbcm5719-llvm-640230cc97f723a97fe8599e6b2fa1918bc235b8.tar.gz
bcm5719-llvm-640230cc97f723a97fe8599e6b2fa1918bc235b8.zip
[clang-tidy] TransformerClangTidyCheck: change choice of location for diagnostic message.
Summary: This patch changes the location specified to the `ClangTidyCheck::diag()`. Currently, the beginning of the matched range is used. This patch uses the beginning of the first fix's range. This change both simplifies the code and (hopefully) gives a more intuitive result: the reported location aligns with the fix(es) provided, rather than the (arbitrary) range of the rule's match. N.B. this patch will break the line offset numbers in lit tests if the first fix is not at the beginning of the match. Reviewers: gribozavr Subscribers: xazax.hun, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D66676 llvm-svn: 369914
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud