[PATCH] D97189: [flang][NFC] Add source line to TODO message

Jean Perier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 05:17:57 PST 2021


jeanPerier created this revision.
Herald added subscribers: mehdi_amini, rriddle, jfb.
Herald added a reviewer: sscalpone.
jeanPerier requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1, stephenneuendorffer.
Herald added a project: LLVM.

- Add a fatal error handler that can print a message with source location before aborting.

- Replace TODO by TODO with mlir location where possible.
- Introduce TODO_NOLOC for the few places where no source location is easily accessible.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97189

Files:
  flang/include/flang/Lower/Todo.h
  flang/include/flang/Optimizer/Support/FatalError.h
  flang/lib/Lower/OpenACC.cpp
  flang/lib/Lower/OpenMP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97189.325420.patch
Type: text/x-patch
Size: 9749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210222/fe34c241/attachment.bin>


More information about the llvm-commits mailing list