[PATCH] D70259: [Error] Add source location to cantFail

Don Hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 11:11:17 PST 2019


hintonda created this revision.
hintonda added reviewers: lhames, beanz.
Herald added a project: LLVM.

Add llvm_cantFail macro, a drop in replacement for llvm::cantFail,
that adds source location, similar to assert, for !NDEBUG builds.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70259

Files:
  llvm/include/llvm/Support/Error.h
  llvm/unittests/Support/ErrorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70259.229363.patch
Type: text/x-patch
Size: 5748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191114/023b62c0/attachment.bin>


More information about the llvm-commits mailing list