Revision tags: llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4, llvmorg-3.7.0-rc2, llvmorg-3.7.0-rc1, llvmorg-3.6.2, llvmorg-3.6.2-rc1 |
|
#
43a298cb |
| 29-May-2015 |
Szabolcs Sipos <szabolcs.sipos@ericsson.com> |
[clang-tidy] Fix for llvm.org/PR23355
misc-static-assert and misc-assert-side-effect will handle __builtin_expect based asserts correctly.
llvm-svn: 238548
|
#
0acf19ed |
| 23-May-2015 |
Szabolcs Sipos <szabolcs.sipos@ericsson.com> |
[clang-tidy] Fix for llvm.org/PR23572
misc-static-assert won't report asserts whose conditions contain calls to non constexpr functions.
llvm-svn: 238098
|
Revision tags: llvmorg-3.6.1, llvmorg-3.6.1-rc1 |
|
#
60ce8bb0 |
| 08-May-2015 |
Szabolcs Sipos <szabolcs.sipos@ericsson.com> |
[clang-tidy] Fix for llvm.org/PR23161
The misc-static-assert check will not warn on the followings: assert(NULL == "shouldn't warn"); assert(__null == "shouldn't warn");
Where NULL is a mac
[clang-tidy] Fix for llvm.org/PR23161
The misc-static-assert check will not warn on the followings: assert(NULL == "shouldn't warn"); assert(__null == "shouldn't warn");
Where NULL is a macro defined as __null.
llvm-svn: 236812
show more ...
|
#
8429681d |
| 10-Apr-2015 |
Szabolcs Sipos <szabolcs.sipos@ericsson.com> |
[clang-tidy] Fix for llvm.org/PR23161
The misc-static-assert check will not warn on the followings: assert("Some message" == NULL); assert(NULL == "Some message");
llvm-svn: 234596
|
Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1 |
|
#
1c4af5ed |
| 15-Mar-2015 |
Alexander Kornienko <alexfh@google.com> |
[clang-tidy] Fix false positives in the misc-static-assert check http://llvm.org/PR22880
The misc-static-assert check will not warn on assert(false), assert(False), assert(FALSE); where false / Fals
[clang-tidy] Fix false positives in the misc-static-assert check http://llvm.org/PR22880
The misc-static-assert check will not warn on assert(false), assert(False), assert(FALSE); where false / False / FALSE are macros expanding to the false or 0 literals.
Also added corresponding test cases.
http://reviews.llvm.org/D8328
Patch by Szabolcs Sipos!
llvm-svn: 232306
show more ...
|
#
b2ddb8ac |
| 09-Mar-2015 |
Alexander Kornienko <alexfh@google.com> |
[clang-tidy] Fix assertion when a dependent expression is used in an assert.
llvm-svn: 231620
|
#
1ca3b832 |
| 02-Mar-2015 |
Alexander Kornienko <alexfh@google.com> |
[clang-tidy] Assert related checkers
This patch contains two assert related checkers. These checkers are the part of those that is being open sourced by Ericsson (http://lists.cs.uiuc.edu/pipermail/
[clang-tidy] Assert related checkers
This patch contains two assert related checkers. These checkers are the part of those that is being open sourced by Ericsson (http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-December/040520.html).
The checkers:
AssertSideEffect: /// \brief Finds \c assert() with side effect. /// /// The conition of \c assert() is evaluated only in debug builds so a condition /// with side effect can cause different behaviour in debug / relesase builds.
StaticAssert: /// \brief Replaces \c assert() with \c static_assert() if the condition is /// evaluatable at compile time. /// /// The condition of \c static_assert() is evaluated at compile time which is /// safer and more efficient.
http://reviews.llvm.org/D7375
Patch by Szabolcs Sipos!
llvm-svn: 230943
show more ...
|