[PATCH] D105408: [clang-format] Pass a TextDiagnosticPrinter when we can not create tempory file.

BRAMI Élie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 6 08:16:27 PDT 2021


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.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105408/new/

https://reviews.llvm.org/D105408



More information about the cfe-commits mailing list