[PATCH] D60857: [clang-tidy] Address post-commit comments

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 18 05:51:51 PDT 2019


alexfh added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/alternative-fixes.cpp:1-7
+// RUN: clang-tidy -checks='-*,llvm-namespace-comment,clang-diagnostic-*' %s -- \
+// RUN: | FileCheck -implicit-check-not='{{warning|error|note}}:' %s
+
+// Verify clang-tidy only applies the first alternative fix.
+// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
+// RUN: clang-tidy -checks='-*,llvm-namespace-comment,clang-diagnostic-*' -fix %t.cpp --
+// RUN: FileCheck -input-file=%t.cpp %s -check-prefix=CHECK-FIX
----------------
Why can't we use the check_clang_tidy script?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60857





More information about the cfe-commits mailing list