Et7f3 added a comment.
Mb I just looked in driver how to setup diagnostics (which included frontend).
Ok so I see 2 options:
- move TextDiagnosticsPrinter in clangBasic
- Use SMDiagnostic like clang/tools/clang-format/ClangFormat.cpp:324 but it
seem to need a SMLoc so not really adapted.
Repo
Et7f3 updated this revision to Diff 356391.
Et7f3 edited the summary of this revision.
Et7f3 added a comment.
Add a reproduction case in commit message.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105408/new/
https://reviews.llvm.org/D105408
Fil
Et7f3 created this revision.
Herald added a subscriber: mgorny.
Et7f3 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Co-authored-by: "tartine8"
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D105408
Files:
clang/tool