mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 05:46:06 +00:00
[AArch64] Add missing field 'GuardedControlStack' initializer (NFC)
llvm-project/llvm/lib/TargetParser/ARMTargetParserCommon.cpp:143:39: error: missing field 'GuardedControlStack' initializer [-Werror,-Wmissing-field-initializers] PBP = {"none", "a_key", false, false}; ^ 1 error generated.
This commit is contained in:
parent
b120dae9bb
commit
d553934770
@ -140,7 +140,7 @@ ARM::EndianKind ARM::parseArchEndian(StringRef Arch) {
|
||||
// an erroneous part of the spec.
|
||||
bool ARM::parseBranchProtection(StringRef Spec, ParsedBranchProtection &PBP,
|
||||
StringRef &Err) {
|
||||
PBP = {"none", "a_key", false, false};
|
||||
PBP = {"none", "a_key", false, false, false};
|
||||
if (Spec == "none")
|
||||
return true; // defaults are ok
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user