[PATCH] Extend the check to detect patterns like 'ptr.get() == nullptr'

Daniel Jasper djasper at google.com
Tue Apr 8 02:00:27 PDT 2014



================
Comment at: test/clang-tidy/check_clang_tidy_output.sh:11
@@ +10,3 @@
+$(dirname $0)/make_compile_commands_json.sh ${INPUT_FILE} ${TEMPORARY_DIR}
+clang-tidy --checks=${CHECK_TO_RUN} ${INPUT_FILE} -p ${TEMPORARY_DIR} |
+FileCheck ${INPUT_FILE}
----------------
Daniel Jasper wrote:
> Also set --disable_checks=''.
> 
> And same in the other wrapper script.
> 
> (I think we might also want to change how those flags behave, but until then, this is the right thing to do..)
-disable-checks that is..


http://reviews.llvm.org/D3294

BRANCH
  get_==

ARCANIST PROJECT
  clang-tools-extra






More information about the cfe-commits mailing list