summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-10-08 20:01:03 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-10-08 20:01:03 +0000
commitbe7da21d33569d7618d51e73bffaf7c2fa45719e (patch)
tree05744e48db4c393a35012174003b5c486e7a1cb8 /llvm/lib/CodeGen/CodeGen.cpp
parentaf8b4871a83eacc288dfe23bb7ce976027a41977 (diff)
downloadbcm5719-llvm-be7da21d33569d7618d51e73bffaf7c2fa45719e.tar.gz
bcm5719-llvm-be7da21d33569d7618d51e73bffaf7c2fa45719e.zip
Convert two instances of assertTrue() and string matching usages to self.expect()
which is more descriptive. And wrap the file open operation inside a with block so that close() is automatically called upon exiting the block. llvm-svn: 116096
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud