diff options
author | Joe Loser <joeloser@fastmail.com> | 2022-12-03 18:01:53 -0700 |
---|---|---|
committer | Joe Loser <joeloser@fastmail.com> | 2022-12-03 19:07:11 -0700 |
commit | 5d3c972a3565df01bb4ac15262b6fe4c3157b807 (patch) | |
tree | 5b5ddf26ba4ed351c81249b98d924405c8db24ca /clang/lib/Basic/SourceManager.cpp | |
parent | dc0d56febba37ba672c1800be70a3ff5a42f4769 (diff) | |
download | llvm-5d3c972a3565df01bb4ac15262b6fe4c3157b807.zip llvm-5d3c972a3565df01bb4ac15262b6fe4c3157b807.tar.gz llvm-5d3c972a3565df01bb4ac15262b6fe4c3157b807.tar.bz2 |
[MLIR] Use `if constexpr` in `StorageUniquer` and `IR/AffineExpr`
Querying the type trait is something that can be done at compile time. So,
replace the runtime `if` with `if constexpr`.
Differential Revision: https://reviews.llvm.org/D139264
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions