aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorEmilia Dreamer <emilia@rymiel.space>2023-03-26 04:39:03 +0300
committerEmilia Dreamer <emilia@rymiel.space>2023-03-26 04:39:10 +0300
commitbb4f6c4dca98a47054117708015bb2724256ee83 (patch)
tree093f8135698362e91771a66e90e1c111f60b134c /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parenta8d2bff290e1b86b4bca4007493205b4878c4f68 (diff)
downloadllvm-bb4f6c4dca98a47054117708015bb2724256ee83.zip
llvm-bb4f6c4dca98a47054117708015bb2724256ee83.tar.gz
llvm-bb4f6c4dca98a47054117708015bb2724256ee83.tar.bz2
[clang-format] Treat NTTP default values as expressions
clang-format already has logic to threat the right-hand side of an equals sign. This patch applies that logic to template defaults, which are likely to be non-template type parameters in which case the default value should be annotated as an expression. This should mostly only ever apply to bool and &&. Fixes https://github.com/llvm/llvm-project/issues/61664 Reviewed By: MyDeveloperDay, owenpan Differential Revision: https://reviews.llvm.org/D146760
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions