[all-commits] [llvm/llvm-project] b81745: Make default initialization explicit
Martin Wehking via All-commits
all-commits at lists.llvm.org
Tue Apr 23 04:30:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b8174512111bc116776de24e2cff3f6f94d536fe
https://github.com/llvm/llvm-project/commit/b8174512111bc116776de24e2cff3f6f94d536fe
Author: Martin Wehking <martin.wehking at codeplay.com>
Date: 2024-04-23 (Tue, 23 Apr 2024)
Changed paths:
M llvm/test/TableGen/GlobalISelEmitter.td
M llvm/test/TableGen/GlobalISelEmitterHwModes.td
M llvm/utils/TableGen/Common/SubtargetFeatureInfo.cpp
Log Message:
-----------
Make default initialization explicit
Coverity (a static analysis tool) reported that the emitted 'Features'
variable inside emitComputeAvailableFeatures in TableGen might be
unitialized.
Silence this warning by adding brackets for the default initialization.
Adapt test cases to take additional brackets into account.
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