[PATCH] D68554: [clang-format] Proposal for clang-format to give compiler style warnings
Michael Liao via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 17 16:51:21 PDT 2019
hliao added inline comments.
================
Comment at: clang/test/Format/dry-run-alias.cpp:1-2
+// RUN: clang-format -style=LLVM -i -n %s 2> %t.stderr
+// RUN: grep -E "*code should be clang-formatted*" %t.stderr
+
----------------
Why not check with `FileCheck`?
================
Comment at: clang/test/Format/dry-run.cpp:1-2
+// RUN: clang-format -style=LLVM -i --dry-run %s 2> %t.stderr
+// RUN: grep -E "*code should be clang-formatted*" %t.stderr
+
----------------
Why not check with `FileCheck`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68554/new/
https://reviews.llvm.org/D68554
More information about the cfe-commits
mailing list