diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-10-08 20:01:03 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-10-08 20:01:03 +0000 |
commit | be7da21d33569d7618d51e73bffaf7c2fa45719e (patch) | |
tree | 05744e48db4c393a35012174003b5c486e7a1cb8 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | af8b4871a83eacc288dfe23bb7ce976027a41977 (diff) | |
download | bcm5719-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/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions