aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SafeStack.cpp
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2018-12-21 21:41:37 +0000
committerDan Liew <dan@su-root.co.uk>2018-12-21 21:41:37 +0000
commita8334ed571c6bd5894af328291ca31593dec52f8 (patch)
tree2c8e1fda00390f2c8f3e14d75ad00e3e339cec68 /llvm/lib/CodeGen/SafeStack.cpp
parent09f6d778407d16cdf99b7c78b4386c2b3c415a76 (diff)
downloadllvm-a8334ed571c6bd5894af328291ca31593dec52f8.zip
llvm-a8334ed571c6bd5894af328291ca31593dec52f8.tar.gz
llvm-a8334ed571c6bd5894af328291ca31593dec52f8.tar.bz2
Fix `static_assert()` scope in `CombinedAllocator`.
It should be at the class scope and not inside the `Init(...)` function because we want to error out as soon as the wrong type is constructed. At the function scope the `static_assert` is only checked if the function might be called. This is a follow up to r349957. rdar://problem/45284065 llvm-svn: 349960
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions