summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-04-01 18:02:25 +0000
committerEnrico Granata <egranata@apple.com>2013-04-01 18:02:25 +0000
commit8fab9fdac2e7b5c5557af20b9a0c772410970496 (patch)
tree46020025302e12c98e190a74a2855c406c22eb3c /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent10230d4d6edc19d6cbe85e34cb4c26350deac79e (diff)
downloadbcm5719-llvm-8fab9fdac2e7b5c5557af20b9a0c772410970496.tar.gz
bcm5719-llvm-8fab9fdac2e7b5c5557af20b9a0c772410970496.zip
Integrating option parsing in TestCase for added convenience
To hook it up to individual test cases: - define GetLongOptions() in your test case class to return something other than NULL (hopefully an array of options :-) - implement ParseOption() to check for the short option char and do the right thing - return true at the end if you want more options to come your way or false if you don’t - make sure that your Setup() call takes int& and char**& so that optind post-processing can happen - and call TestCase::Setup from your setup llvm-svn: 178482
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud