[PATCH] D148601: [Clang] Handle Error message to output proper Prefix

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 18 21:16:21 PDT 2023


tbaeder added inline comments.


================
Comment at: clang/lib/Frontend/VerifyDiagnosticConsumer.cpp:1097
     // source file(s) processed.
+    const auto &Prefixes = Diags.getDiagnosticOptions().VerifyPrefixes;
     if (Status == HasNoDirectives) {
----------------
Can move this line inside the `if` statement block.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148601



More information about the cfe-commits mailing list