search for: llvmdiagnosticsengine

Displaying 1 result from an estimated 1 matches for "llvmdiagnosticsengine".

2017 Mar 13
2
[RFC] improvements to LLVM diagnostic infrastructure
...nefit of the (integrated) assembler. The goal is to support options such as -Werror, -w, and -W<warning> for files assembled with clang and inline assembly. Clang already has support for these options but does not apply them to diagnostics originating from (inline) assembly. I plan to add an LLVMDiagnosticsEngine class that takes responsibility for handling diagnostics options (superseding parts of SourceMgr and LLVMContext). The diagnostics themselves will be defined in TableGen (just like in clang). Currently, diagnostics are passed through a SourceMgr to get location info and then passed on to a diagnos...