[PATCH] D61747: [clang-tidy] remove default header-filter for run-clang-tidy

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 18:00:03 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rCTE361344: [clang-tidy] remove default header-filter for run-clang-tidy (authored by dhinton, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D61747?vs=198877&id=200620#toc

Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D61747

Files:
  clang-tidy/tool/run-clang-tidy.py


Index: clang-tidy/tool/run-clang-tidy.py
===================================================================
--- clang-tidy/tool/run-clang-tidy.py
+++ clang-tidy/tool/run-clang-tidy.py
@@ -84,9 +84,6 @@
   start = [clang_tidy_binary]
   if header_filter is not None:
     start.append('-header-filter=' + header_filter)
-  else:
-    # Show warnings in all in-project headers by default.
-    start.append('-header-filter=^' + build_path + '/.*')
   if checks:
     start.append('-checks=' + checks)
   if tmpdir is not None:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61747.200620.patch
Type: text/x-patch
Size: 526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190522/fb2f0274/attachment.bin>


More information about the cfe-commits mailing list