aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-06-09 20:41:08 +0000
committerPete Cooper <peter_cooper@apple.com>2015-06-09 20:41:08 +0000
commit6d17edc534265ccd1c06ed9c22f68876ed2c00de (patch)
tree5c4aed770dd4a33115aaa56b6b57c9ff0f53701a /llvm/lib/Transforms/Utils/LoopSimplify.cpp
parenta9ecddbbe5dbb1f463065b38e37fbc0d3022bcc8 (diff)
downloadllvm-6d17edc534265ccd1c06ed9c22f68876ed2c00de.zip
llvm-6d17edc534265ccd1c06ed9c22f68876ed2c00de.tar.gz
llvm-6d17edc534265ccd1c06ed9c22f68876ed2c00de.tar.bz2
Reduce duplication in MCSymbol Name handling. NFC>
Based on feedback to r239428 by David Blaikie, use const_cast to reduce duplication of the const and non-const versions of getNameEntryPtr. Also have that method return the pointer to the name directly instead of users having to then get the name from the union. Finally, add a FIXME that we should use a static_assert once available in the new operator. llvm-svn: 239429
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions