aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2025-06-21 09:58:45 +0200
committerGitHub <noreply@github.com>2025-06-21 09:58:45 +0200
commit685af55fe004b0d904c3de1c28fdebbeee15d0a4 (patch)
tree2b105e0887783da6027498a069dab16d97b7a805 /clang/lib/CodeGen/ModuleBuilder.cpp
parent2050d2e1815b4b306f4b3842d6ac0fa73e1d4085 (diff)
downloadllvm-685af55fe004b0d904c3de1c28fdebbeee15d0a4.zip
llvm-685af55fe004b0d904c3de1c28fdebbeee15d0a4.tar.gz
llvm-685af55fe004b0d904c3de1c28fdebbeee15d0a4.tar.bz2
[libc++] Simplify <limits> a bit (#140021)
This does a few small things: - inline `__libcpp_compute_min`, since we can don't have to put the arithmetic behind a constraint. Simple arithmetic also tends to be faster to compile than instantiating a type. - Remove an unused include (and add missing includes elsewhere) - Remove `__min` and `__max` from the `bool` specialization Co-authored-by: Louis Dionne <ldionne.2@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions