commit | 53d587ee0390301d92ea289bdac557570f9a2973 | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Thu Apr 27 03:45:33 2017 |
committer | Rui Ueyama <ruiu@google.com> | Thu Apr 27 03:45:33 2017 |
tree | e6d7b8d63f2f72df7e3ff48eec5a537fc49529cb | |
parent | 51ff1d79cde99b65b50fc149a5fddf27ba2fe97c [diff] |
Make StringSaver::save less ambiguous. Previously, an expression such as Saver.save(std::string("foo") + "bar") didn't compile because there is an ambiguity as to whether the argument is of const Twine& or StringRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301512 91177308-0d34-0410-b5e6-96231b3b80d8