Displaying 1 result from an estimated 1 matches for "diangosticinfo".
Did you mean:
diagnosticinfo
2015 Jun 24
2
[LLVMdev] Out-of-source subclassses vs. LLVM's RTTI system
...s 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 & DI )*. None of the existing subclasses of
*DiangosticInfo* seems quite appropriate for my needs, so I wanted to
create my own subclass, outside of the LLVM source.
So I'm stuck between (a) wanting all of my code to reside outside of the
LLVM source, and (b) being obligated (I think) to modify the
*DiagnosticKind* enum.
Thanks, Christian
------------...