[PATCH] D124952: [clang-tidy] Escape diagnostic messages before passing to `diag` in Transformer.

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 4 13:35:28 PDT 2022


gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang-tools-extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp:107
+  ASSERT_EQ(Errors.size(), 1U);
+  // This should match the input; this test only verifies that the presence of
+  // '%' doesn't crash Clang.
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124952



More information about the cfe-commits mailing list