commit | 7212e1ee9696659a1097ca9e65b1f5f4d3612fce | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Tue May 03 23:32:31 2016 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Tue May 03 23:32:31 2016 +0000 |
tree | 6cf7235f384315307f7b50a1bd907c4a7ec55a1e | |
parent | de24f13da32b382417230b35a6fd8dd57dd97b9e [diff] |
[Support] Add a free toString function for Error toString() consumes an Error and returns a string representation of its contents. This commit also adds a message() method to ErrorInfoBase for convenience. Differential Revision: http://reviews.llvm.org/D19883 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268465 91177308-0d34-0410-b5e6-96231b3b80d8