[flang][fir][NFC] remove dead code

Removes unused function from FatalError.h.

Differential revision: https://reviews.llvm.org/D97328
This commit is contained in:
Eric Schweitz 2021-02-23 12:28:20 -08:00
parent 6da7d31416
commit 6740694742
1 changed files with 0 additions and 6 deletions

View File

@ -26,12 +26,6 @@ LLVM_ATTRIBUTE_NORETURN inline void emitFatalError(mlir::Location loc,
llvm::report_fatal_error("aborting");
}
/// Fatal error reporting helper. Report a fatal error without a source location
/// and immediately abort flang.
LLVM_ATTRIBUTE_NORETURN inline void emitFatalError(const llvm::Twine &message) {
llvm::report_fatal_error(message);
}
} // namespace fir
#endif // FORTRAN_OPTIMIZER_SUPPORT_FATALERROR_H