diff options
| author | Jakub Kuderski <jakub@nod-labs.com> | 2025-10-15 10:10:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-15 14:10:31 +0000 |
| commit | c4eaf56122d791d06c0a6f6be0224d8491d3beed (patch) | |
| tree | a727b652477d47e9758dddafba59d238c54e188a /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | e2db9a9036408eeac69389258d38e15aed93cd71 (diff) | |
| download | llvm-c4eaf56122d791d06c0a6f6be0224d8491d3beed.zip llvm-c4eaf56122d791d06c0a6f6be0224d8491d3beed.tar.gz llvm-c4eaf56122d791d06c0a6f6be0224d8491d3beed.tar.bz2 | |
[ADT] Mark StringSwitch Cases with 6+ arguments as deprecated. NFC. (#163405)
Switch to the `.Cases({S0, S1, ...}, Value)` overload instead.
Update existing uses affected by the deprecation and the surrounding
code (for consistency).
This is a part of a larger cleanup of StringSwitch. The goal is to
eventually deprecate all manually-enumerated overloads of Cases with a
hardcoded number of case values (in favor of passing them via an
initializer list). You can find the full explanation here:
https://github.com/llvm/llvm-project/pull/163117.
Start small (6+ arguments) to keep the number of changes manageable.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
