search for: err_arm_invalid_immediate_shift

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

2017 Mar 13
2
[RFC] improvements to LLVM diagnostic infrastructure
...sts). This is usually wrapped in Warning() and Error() functions. For example in ARMAsmParser.cpp: Error(ImmLoc, "invalid immediate shift value"); which eventually calls SourceMgr::PrintMessage. This would change to (incrementally throughout the code-base) : Diag(ImmLoc, err_arm_invalid_immediate_shift); and pass through LLVMDiagnosticsEngine to get the diagnostic message and severity (defined in TableGen, similar to Diagnostic*Kinds.td in clang). Initially, LLVMDiagnosticsEngine will be a smaller, simpler version of clang's DiagnosticEngine. Over time, I would expect more features of clang&...