diff options
| author | Akira Hatanaka <ahatanaka@apple.com> | 2016-05-02 22:29:40 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2016-05-02 22:29:40 +0000 |
| commit | 1cfa27309184d95b3e2f9a4f74d35fb3723856cc (patch) | |
| tree | 6556f30c07188102a48428357cbefd2e27f2e84c /llvm/unittests/Support/FileOutputBufferTest.cpp | |
| parent | 1e918c9cb37c251e8fcc88d403fba89a9fc7ea52 (diff) | |
| download | llvm-1cfa27309184d95b3e2f9a4f74d35fb3723856cc.zip llvm-1cfa27309184d95b3e2f9a4f74d35fb3723856cc.tar.gz llvm-1cfa27309184d95b3e2f9a4f74d35fb3723856cc.tar.bz2 | |
Remove unneeded test in tryCaptureAsConstant.
It isn't necessary to call hasDefaultArg because we can't rematerialize
a captured variable that is a function parameter, regardless of whether
or not it has a default argument. NFC.
llvm-svn: 268318
Diffstat (limited to 'llvm/unittests/Support/FileOutputBufferTest.cpp')
0 files changed, 0 insertions, 0 deletions
