[PATCH] D114034: [clang-tidy] fix debug-only test failure

Matt Beardsley via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 18 14:34:57 PST 2021


mattbeardsley updated this revision to Diff 388329.
mattbeardsley edited the summary of this revision.
mattbeardsley added a comment.

Well, I've goofed. I was working in a shared fork where someone added a RenameFcn check locally (not sure we should be doing that, but that's besides the point). I thought I was in my vanilla llvm-project fork when I saw the failure. So some of the earlier messages don't apply.

I still think it'd be good to isolate pr37091.cpp from the top-level .clang-tidy! But I've reverted the top-level .clang-tidy change.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114034

Files:
  clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp


Index: clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp
===================================================================
--- clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp
+++ clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp
@@ -6,5 +6,5 @@
 //
 // Verify that no temporary files are left behind by the clang-tidy invocation.
 
-// RUN: env TMPDIR=%t TEMP=%t TMP=%t clang-tidy %s -- --target=mips64
+// RUN: env TMPDIR=%t TEMP=%t TMP=%t clang-tidy -checks='-*,clang-analyzer-core.NullDereference' %s -- --target=mips64
 // RUN: rmdir %t


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114034.388329.patch
Type: text/x-patch
Size: 578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211118/aa886172/attachment.bin>


More information about the cfe-commits mailing list