[all-commits] [llvm/llvm-project] 2340a4: [clang][Sema] Cleanup and optimize DiagnoseAssignm...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Tue May 27 21:02:23 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2340a4e902367ec4571d450158c728e5f11b8964
https://github.com/llvm/llvm-project/commit/2340a4e902367ec4571d450158c728e5f11b8964
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-05-28 (Wed, 28 May 2025)
Changed paths:
M clang/lib/Sema/SemaStmt.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list