[PATCH] D70876: [clang-tidy] Add spuriously-wake-up-functions check
Kocsis Ábel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 28 02:24:31 PST 2019
abelkocsis marked 11 inline comments as done.
abelkocsis added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/bugprone-spuriously-wake-up-functions.cpp:2
+// RUN: %check_clang_tidy %s bugprone-spuriously-wake-up-functions %t -- -- -I %S/Inputs/bugprone-spuriously-wake-up-functions/
+#include "condition_variable.h"
+#define NULL 0
----------------
aaron.ballman wrote:
> Are you planning to use these declarations in multiple test files? If not, then we typically put all of the header code into the test file rather than added as explicit files.
I'm not sure yet, so I move it into the test file.
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70876/new/
https://reviews.llvm.org/D70876
More information about the cfe-commits
mailing list