Replaces assert() with static_assert() if the condition is can be evaluated at compile time. llvm-svn: 360753