[all-commits] [llvm/llvm-project] 8d6841: [Clang][NFC][ByteCode] Initialize Function HasBody...
Shafik Yaghmour via All-commits
all-commits at lists.llvm.org
Tue Jun 10 08:33:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d6841f280abc55d4a4fdcfd5eb4a69edb544c03
https://github.com/llvm/llvm-project/commit/8d6841f280abc55d4a4fdcfd5eb4a69edb544c03
Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
Date: 2025-06-10 (Tue, 10 Jun 2025)
Changed paths:
M clang/lib/AST/ByteCode/Function.cpp
Log Message:
-----------
[Clang][NFC][ByteCode] Initialize Function HasBody in constructor (#143443)
Static analysis flagged HasBody as not being initialized during
construction. It looks like an oversight in:
https://github.com/llvm/llvm-project/pull/139671
This would be a lot simpler with C++20 which allows in class
initialization of bit-fields.
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