aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-11-01 02:58:30 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-11-01 02:58:30 +0000
commit9c729067e93739dcd6deb0f5333d2328425d603c (patch)
tree3e5f9ab65a3c168e542898d9be7934745586a4af /llvm/unittests/Support/CommandLineTest.cpp
parent6e5610fa4d5d3f89671bb7efbdff518b62f5ed99 (diff)
downloadllvm-9c729067e93739dcd6deb0f5333d2328425d603c.zip
llvm-9c729067e93739dcd6deb0f5333d2328425d603c.tar.gz
llvm-9c729067e93739dcd6deb0f5333d2328425d603c.tar.bz2
[TBAA] Use wrapper objects instead of raw getOperand s; NFC
This is intended to make the semantic intent clearer. The wrapper objects are now generic to avoid `const_cast` s. Since `const` ness is part of the API of `MDNode::getMostGenericTBAA` (and therefore I can't make things `const` all the way through without some code churn outside TypeBasedAliasAnalysis.cpp), this seemed like the cleanest solution. llvm-svn: 285665
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions