Displaying 2 results from an estimated 2 matches for "diagnosticseverity".
2015 Jun 24
2
[LLVMdev] Out-of-source subclassses vs. LLVM's RTTI system
...s approach is the
same as my initial approach: just call the most-appropriate-seeming
llvm::emit...Remark...(...) method.
I can use that as a fallback approach, if needed. But I was hoping
implement a function for emitting diagnostic info, where one of the
parameters was the severity level (llvm::DiagnosticSeverity). I'm
particularly interested in drawing a distinction between "remarks" (which
should be optionally filtered) and "warnings" (which should always be sent
to errs())
The DiagnosticInfoOptimizationBase supports the exact set of details I care
about. Unfortunately it's...
2015 Jun 24
2
[LLVMdev] Out-of-source subclassses vs. LLVM's RTTI system
Hi all,
Is there a good way to add out-of-LLVM-source subclasses, without modifying
the corresponding in-source "Kind" enumeration?
As I play around with writing an AA pass, I'd like a good way to issue
warnings for cases where my AA pass can't handle a particular IR
construct. I was thinking to report those warnings via
*llvm::LLVMContext::diagnose(
const DiagnosticInfo &