[all-commits] [llvm/llvm-project] 9a8d33: [clang-tidy] Escape diagnostic messages before pas...
Yitzhak Mandelbaum via All-commits
all-commits at lists.llvm.org
Wed May 4 13:57:25 PDT 2022
Author: Yitzhak Mandelbaum <yitzhakm at google.com>
Date: 2022-05-04 (Wed, 04 May 2022)
[clang-tidy] Escape diagnostic messages before passing to `diag` in Transformer.
Messages generated by Transformer rules may have `%` in them, which
needs to be escaped before being passed to `diag`, which interprets them
specially (and crashes if they are misused).
Differential Revision: https://reviews.llvm.org/D124952
More information about the All-commits