[wpiutil] Suppress fmtlib clang-tidy warning in C++20 consteval contexts (#4364)

This commit is contained in:
Tyler Veness
2022-08-19 23:52:19 -07:00
committed by GitHub
parent 0e6d67b23b
commit d80e8039d7
4 changed files with 37 additions and 7 deletions

View File

@@ -17,7 +17,15 @@ def main():
# Apply patches to original git repo
prefix = os.path.join(root, "upstream_utils/fmt_patches")
am_patches(repo, [os.path.join(prefix, "0001-Don-t-throw-on-write-failure.patch")])
am_patches(
repo,
[
os.path.join(prefix, "0001-Don-t-throw-on-write-failure.patch"),
os.path.join(
prefix, "0002-Suppress-clang-tidy-warning-false-positive.patch"
),
],
)
# Delete old install
for d in [