mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Add a missing enumerator to this switch. Currently its in the
assert-path code, as previously we would have fallen off the end of the function, but please review and let me know if this should go somewhere else. This fixes a Clang warning: lib/MC/MCMachOStreamer.cpp:201:11: error: enumeration value 'MCSA_IndirectSymbol' not handled in switch [-Werror,-Wswitch-enum] switch (Attribute) { ^ 1 error generated. llvm-svn: 135976
This commit is contained in:
parent
7c7d45a67c
commit
df8888b839
@ -208,6 +208,7 @@ void MCMachOStreamer::EmitSymbolAttribute(MCSymbol *Symbol,
|
|||||||
case MCSA_ELF_TypeNoType:
|
case MCSA_ELF_TypeNoType:
|
||||||
case MCSA_ELF_TypeGnuUniqueObject:
|
case MCSA_ELF_TypeGnuUniqueObject:
|
||||||
case MCSA_Hidden:
|
case MCSA_Hidden:
|
||||||
|
case MCSA_IndirectSymbol:
|
||||||
case MCSA_Internal:
|
case MCSA_Internal:
|
||||||
case MCSA_Protected:
|
case MCSA_Protected:
|
||||||
case MCSA_Weak:
|
case MCSA_Weak:
|
||||||
|
Loading…
Reference in New Issue
Block a user