aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/clang-format/clang-format-diff.py
diff options
context:
space:
mode:
authorAlex Rice <alexrice999@hotmail.co.uk>2024-08-21 17:14:33 +0100
committerGitHub <noreply@github.com>2024-08-21 17:14:33 +0100
commite49068624c48f4d906707b32b31f6a1d561605be (patch)
treec84ee5e29a793723830324a0ebc19f31b5a181f0 /clang/tools/clang-format/clang-format-diff.py
parent6816a137985bfa38cda20b9cd4e23c361c3bd0de (diff)
downloadllvm-e49068624c48f4d906707b32b31f6a1d561605be.zip
llvm-e49068624c48f4d906707b32b31f6a1d561605be.tar.gz
llvm-e49068624c48f4d906707b32b31f6a1d561605be.tar.bz2
[mlir] [tablegen] Make `hasSummary` and `hasDescription` useful (#105531)
The `hasSummary` and `hasDescription` functions are currently useless as they check if the corresponding `summary` and `description` are present. However, these values are set to a default value of `""`, and so these functions always return true. This PR changes these functions to check if the summary and description are just whitespace, which is presumably closer to their original intent. @math-fehr @zero9178
Diffstat (limited to 'clang/tools/clang-format/clang-format-diff.py')
0 files changed, 0 insertions, 0 deletions