diff options
| author | Timm Baeder <tbaeder@redhat.com> | 2025-05-28 06:02:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-28 06:02:02 +0200 |
| commit | 2340a4e902367ec4571d450158c728e5f11b8964 (patch) | |
| tree | add31f7b1035bf5b94a706f7f89a78be74dbb8d8 /llvm/lib/CodeGen/CommandFlags.cpp | |
| parent | b3873e8aa41be17b6664c918fd6ba30307361d08 (diff) | |
| download | llvm-2340a4e902367ec4571d450158c728e5f11b8964.zip llvm-2340a4e902367ec4571d450158c728e5f11b8964.tar.gz llvm-2340a4e902367ec4571d450158c728e5f11b8964.tar.bz2 | |
[clang][Sema] Cleanup and optimize DiagnoseAssignmentEnum (#141471)
Reorder the precondition checks to move the costly onces last. Also,
only evaluate the RHS once to get the integral value.
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions
