aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Serialization/ModuleCacheTest.cpp
diff options
context:
space:
mode:
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2025-05-01 17:03:47 +0400
committerGitHub <noreply@github.com>2025-05-01 17:03:47 +0400
commit001cc34275111df842edbaa874b7319eef930c81 (patch)
tree73c89d65330a850bc2a2b9718e5bdcc5c27c6e22 /clang/unittests/Serialization/ModuleCacheTest.cpp
parenta6459debc06f9cb86940ff5cdae35a1f52e1ed19 (diff)
downloadllvm-001cc34275111df842edbaa874b7319eef930c81.zip
llvm-001cc34275111df842edbaa874b7319eef930c81.tar.gz
llvm-001cc34275111df842edbaa874b7319eef930c81.tar.bz2
[clang] Add scoped enum support to `StreamingDiagnostic` (#138089)
This patch adds templated `operator<<` for diagnostics that pass scoped enums, saving people from `llvm::to_underlying()` clutter on the side of emitting the diagnostic. This eliminates 80 out of 220 usages of `llvm::to_underlying()` in Clang. I also backported `std::is_scoped_enum_v` from C++23.
Diffstat (limited to 'clang/unittests/Serialization/ModuleCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions