[Lldb-commits] [PATCH] D97449: [Diagnose] Unify MCContext and LLVMContext diagnosing
Fangrui Song via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 1 13:06:07 PST 2021
MaskRay added a comment.
LG. Can you attach an example triggering clang `InlineAsmDiagHandler2`? I want to check what the diagnostic looks like now.
================
Comment at: clang/include/clang/Basic/DiagnosticFrontendKinds.td:22
def note_fe_inline_asm_here : Note<"instantiated into assembly here">;
+def err_fe_source_mgr : Error<"%0">, CatSourceMgr;
+def warn_fe_source_mgr : Warning<"%0">, CatSourceMgr, InGroup<BackendSourceMgr>;
----------------
These seem unused.
================
Comment at: clang/include/clang/Basic/DiagnosticGroups.td:1148
def BackendInlineAsm : DiagGroup<"inline-asm">;
+def BackendSourceMgr : DiagGroup<"source-mgr">;
def BackendFrameLargerThanEQ : DiagGroup<"frame-larger-than=">;
----------------
Unused
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97449/new/
https://reviews.llvm.org/D97449
More information about the lldb-commits
mailing list