[PATCH] [clang-tidy] Fix for llvm.org/PR23355
Szabolcs Sipos
szabolcs.sipos at ericsson.com
Sun May 24 06:33:39 PDT 2015
Hi alexfh,
misc-static-assert now recognizes __builtin_expect based assert macros.
I also added __builtin_expect to the white list of misc-assert-side-effect.
http://reviews.llvm.org/D9959
Files:
clang-tidy/misc/AssertSideEffectCheck.cpp
clang-tidy/misc/StaticAssertCheck.cpp
test/clang-tidy/misc-assert-side-effect.cpp
test/clang-tidy/misc-static-assert.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9959.26379.patch
Type: text/x-patch
Size: 4136 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150524/7855e3b0/attachment.bin>
More information about the cfe-commits
mailing list