aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJakub Kuderski <jakub@nod-labs.com>2025-10-15 10:10:31 -0400
committerGitHub <noreply@github.com>2025-10-15 14:10:31 +0000
commitc4eaf56122d791d06c0a6f6be0224d8491d3beed (patch)
treea727b652477d47e9758dddafba59d238c54e188a /clang/lib/Frontend/CompilerInvocation.cpp
parente2db9a9036408eeac69389258d38e15aed93cd71 (diff)
downloadllvm-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