[PATCH] D97328: [flang][fir][NFC] remove unused function

Eric Schweitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 13:21:36 PST 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG674069474216: [flang][fir][NFC] remove dead code (authored by schweitz).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97328/new/

https://reviews.llvm.org/D97328

Files:
  flang/include/flang/Optimizer/Support/FatalError.h


Index: flang/include/flang/Optimizer/Support/FatalError.h
===================================================================
--- flang/include/flang/Optimizer/Support/FatalError.h
+++ flang/include/flang/Optimizer/Support/FatalError.h
@@ -26,12 +26,6 @@
   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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97328.325885.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210223/df7c9782/attachment.bin>


More information about the llvm-commits mailing list