https://github.com/halide/Halide
Revision 5d5a1040e8ddd88d5791e06e4500bd5eef9643ec authored by Steven Johnson on 28 August 2019, 21:44:11 UTC, committed by Steven Johnson on 28 August 2019, 21:44:11 UTC
Putting `false` inside extra parens, ie `(false)`, is apparently the trick that clang-tidy wants. (The comment is just for emphasis.)

(Ordinarily I'd say code of this sort should be removed or commented out with explanation. Maybe that should happen here too?)
1 parent ea890d9
History
Tip revision: 5d5a1040e8ddd88d5791e06e4500bd5eef9643ec authored by Steven Johnson on 28 August 2019, 21:44:11 UTC
clang-tidy: avoid 'code will never be executed' static checks
Tip revision: 5d5a104
File Mode Size
apps
python_bindings
src
test
tools
tutorial
util
.clang-format -rw-r--r-- 1.4 KB
.gitattributes -rw-r--r-- 342 bytes
.gitignore -rw-r--r-- 1.0 KB
.gitmodules -rw-r--r-- 0 bytes
.travis.yml -rw-r--r-- 1.8 KB
CMakeLists.txt -rw-r--r-- 17.3 KB
Doxyfile -rw-r--r-- 103.6 KB
Doxyfile.in -rw-r--r-- 64.3 KB
LICENSE.txt -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 90.5 KB
README.md -rw-r--r-- 15.9 KB
README_cmake.md -rw-r--r-- 9.9 KB
README_rungen.md -rw-r--r-- 12.1 KB
README_webassembly.md -rw-r--r-- 10.9 KB
halide.cmake -rw-r--r-- 30.1 KB

README.md

back to top