commit | 2352c1884e434cb636d672d63b640b1dd4bdc50c | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Feb 16 14:50:39 2016 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Feb 16 14:50:39 2016 +0000 |
tree | e5c9c21e89303861b5742f9bf5b7f68f994b3b24 | |
parent | 8f08340f6442d548410640924fb2b9c52daa641d [diff] |
Introduce a getAsRange helper. This requires making an error message a bit more generic, but that seems a reasonable tradeoff. Extracted from r260488 but simplified a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260967 91177308-0d34-0410-b5e6-96231b3b80d8