Displaying 2 results from an estimated 2 matches for "getcustomdiagid".
2013 Jul 17
0
[LLVMdev] [RFC] Add warning capabilities in LLVM.
...5:21 PM, Quentin Colombet <qcolombet at apple.com>wrote:
>
> The challenge is, AFAICT (which is not much, I admit), that front-end
> warning types are statically handled using tablegen representation.
>
>
They can also be added dynamically if necessary. See
DiagnosticsEngine::getCustomDiagID
-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130716/b687351f/attachment.html>
2013 Jul 17
8
[LLVMdev] [RFC] Add warning capabilities in LLVM.
Hi,
I would like to start a discussion about error/warning reporting in LLVM and how we can extend the current mechanism to take advantage of clang capabilities.
** Motivation **
Currently LLVM provides a way to report error either directly (print to stderr) or by using a user defined error handler. For instance, in inline asm parsing, we can specify the diagnostic handler to report the errors