[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)
commitfee043439c8f2dc63c408228ea52fdefb6514d80
tree69ff502bbfae13e758a78b6cbee43a183459e070
parentbd250daee053252042ed5a33c8b13e3b24a61f52
[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

llvm-svn: 232366
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/lib/CodeGen/SlotIndexes.cpp
llvm/lib/MC/MCDwarf.cpp
llvm/lib/Support/FoldingSet.cpp
llvm/lib/Target/X86/X86FloatingPoint.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/unittests/ADT/SCCIteratorTest.cpp