[llvm] Replacing asserts with static_asserts where appropriate
authorGabor Horvath <xazax.hun@gmail.com>
Mon, 16 Mar 2015 09:53:42 +0000 (09:53 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Mon, 16 Mar 2015 09:53:42 +0000 (09:53 +0000)
commit1fc0a8da343ad4838036ee8b3e5ecc4871fad718
tree745d3be31224eb03199a7a7cb6207e21633209ff
parent828c4066dd736e4b87944a51b6a569f994b47dc9
[llvm] Replacing asserts with static_asserts where appropriate

Summary:
This patch consists of the suggestions of clang-tidy/misc-static-assert check.

Reviewers: alexfh

Reviewed By: alexfh

Subscribers: xazax.hun, llvm-commits

Differential Revision: http://reviews.llvm.org/D8343

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232366 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineVerifier.cpp
lib/CodeGen/SlotIndexes.cpp
lib/MC/MCDwarf.cpp
lib/Support/FoldingSet.cpp
lib/Target/X86/X86FloatingPoint.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Transforms/Instrumentation/AddressSanitizer.cpp
unittests/ADT/SCCIteratorTest.cpp