[all-commits] [llvm/llvm-project] 0cd5a1: [NFC][clang] Cleanup in APValue and SemaInit (#127...
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Thu Feb 20 00:46:07 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0cd5a1f3090beee88d34d22c6733c6df473877db
https://github.com/llvm/llvm-project/commit/0cd5a1f3090beee88d34d22c6733c6df473877db
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2025-02-20 (Thu, 20 Feb 2025)
Changed paths:
M clang/lib/AST/APValue.cpp
M clang/lib/Sema/SemaInit.cpp
Log Message:
-----------
[NFC][clang] Cleanup in APValue and SemaInit (#127790)
APValue:
Additional assignment of AllowConstexprUnknown is not required since it
will be handled by copy constructor called above.
SemaInit:
Remove unnecessary null check. DestRecordDecl can't be null due to being
obtained using `cast` and assertion that DestRecordType is present.
Spotted by a static analysis tool.
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