aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorMatt Beardsley <mbeardsl@mathworks.com>2021-10-05 18:09:25 +0200
committerKirill Bobyrev <kbobyrev@google.com>2021-10-05 18:09:53 +0200
commit32ab79ebc496d73cb0eb3ad3b54d32b00fc49ba1 (patch)
treebdcfcd36d992a589b5e725d2670292f5fb36f5ee /llvm/lib/Support/APInt.cpp
parent8f55fdf26cd9f08b3b706e9ff8819b0c7f72b651 (diff)
downloadllvm-32ab79ebc496d73cb0eb3ad3b54d32b00fc49ba1.zip
llvm-32ab79ebc496d73cb0eb3ad3b54d32b00fc49ba1.tar.gz
llvm-32ab79ebc496d73cb0eb3ad3b54d32b00fc49ba1.tar.bz2
[clang-tidy] Fix add_new_check.py to generate correct list.rst autofix column from relative path
Previously, the code in add_new_check.py that looks for fixit keywords in check source files when generating list.rst assumed that the script would only be called from its own path. That means it doesn't find any source files for the checks it's attempting to scan for, and it defaults to writing out nothing in the "Offers fixes" column for all checks. Other parts of add_new_check.py work from other paths, just not this part. After this fix, add_new_check.py's "offers fixes" column generation for list.rst will be consistent regardless of what path it's called from by using the caller path that's deduced elsewhere already from sys.argv[0]. Reviewed By: kbobyrev Differential Revision: https://reviews.llvm.org/D110600
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions