diff options
author | Kazu Hirata <kazu@google.com> | 2022-06-20 22:45:45 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-06-20 22:45:45 -0700 |
commit | 7a47ee51a145a40332311330ef45b5d62d8ae023 (patch) | |
tree | 2e7ac16bc8430595cbe68692d08111f028b5f995 /llvm/tools/llvm-ifs/llvm-ifs.cpp | |
parent | 9cfbe7bbfea762d72b60c51c8ab5dadf6b317a9a (diff) | |
download | llvm-7a47ee51a145a40332311330ef45b5d62d8ae023.zip llvm-7a47ee51a145a40332311330ef45b5d62d8ae023.tar.gz llvm-7a47ee51a145a40332311330ef45b5d62d8ae023.tar.bz2 |
[llvm] Don't use Optional::getValue (NFC)
Diffstat (limited to 'llvm/tools/llvm-ifs/llvm-ifs.cpp')
-rw-r--r-- | llvm/tools/llvm-ifs/llvm-ifs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ifs/llvm-ifs.cpp b/llvm/tools/llvm-ifs/llvm-ifs.cpp index b102604..f9b6a8c 100644 --- a/llvm/tools/llvm-ifs/llvm-ifs.cpp +++ b/llvm/tools/llvm-ifs/llvm-ifs.cpp @@ -519,7 +519,7 @@ int main(int argc, char *argv[]) { // TODO: Remove OutputFormat flag in the next revision. WithColor::warning() << "--output-format option is deprecated, please use " "--output-{FILE_FORMAT} options instead\n"; - switch (Config.OutputFormat.getValue()) { + switch (*Config.OutputFormat) { case FileFormat::TBD: { std::error_code SysErr; raw_fd_ostream Out(*Config.Output, SysErr); |