Go to file
Alexander Kornienko 1ca3b83255 [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
2015-03-02 10:46:43 +00:00
clang clang-format: Prefer wrapping a lambda's body over the lambda's return type. 2015-03-02 10:35:13 +00:00
clang-tools-extra [clang-tidy] Assert related checkers 2015-03-02 10:46:43 +00:00
compiler-rt Revert r229678 "tsan: fix signal handling during stop-the-world" 2015-02-28 22:18:11 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc libclc/math: Add cospi 2015-02-26 15:42:00 +00:00
libcxx cmath: account for MSVCRT 12.0 changes 2015-02-28 20:18:39 +00:00
libcxxabi Unwind: make it build on Darwin again 2015-02-28 02:23:54 +00:00
lld Update the list of relocations that need to be implemented. 2015-03-02 06:17:38 +00:00
lldb Linux - debugging of local processes via lldb-gdbserver 2015-03-01 23:21:29 +00:00
llgo Build cgo and llgo-go 2015-02-14 01:46:01 +00:00
llvm Teach the verifier to enforce that the alignment argument of memory intrinsics must be a power of 2. 2015-03-02 09:35:06 +00:00
openmp Removed all header files for OpenMP 2.5 2015-02-25 18:38:08 +00:00
polly [Refactor] Include explicitly what is used 2015-03-01 18:51:51 +00:00