1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

[llvm-profdata] Fix unhandled enumeration values warning

Fix this:

llvm/tools/llvm-profdata/llvm-profdata.cpp:78:15: warning: 12 enumeration values not handled in switch: 'success', 'eof', 'unrecognized_format'... [-Wswitch]
      switch (instrError) {
                    ^

llvm-svn: 253413
This commit is contained in:
Nathan Slingerland 2015-11-18 00:52:45 +00:00
parent 4ee48b13f5
commit 837191e935

View File

@ -82,6 +82,8 @@ static void handleMergeWriterError(std::error_code &Error,
Hint = "Make sure that all profile data to be merged is generated " \
"from the same binary.";
break;
default:
break;
}
}