llvm/include
Alex Bradbury 325ccf1c3d [YAMLTraits] Add filename support to yaml::Input
Summary:
The current yaml::Input constructor takes a StringRef of data as its
first parameter, discarding any filename information that may have been
present when a YAML file was opened. Add an alterate yaml::Input
constructor that takes a MemoryBufferRef, which can have a filename
associated with it. This leads to clearer diagnostic messages.

Sponsored By: DARPA, AFRL

Reviewed By: arphaman

Differential Revision: https://reviews.llvm.org/D35398

Patch by: Jonathan Anderson (trombonehero)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308172 91177308-0d34-0410-b5e6-96231b3b80d8
2017-07-17 11:41:30 +00:00
..
llvm [YAMLTraits] Add filename support to yaml::Input 2017-07-17 11:41:30 +00:00
llvm-c [ORC] Errorize the ORC APIs. 2017-07-07 02:59:13 +00:00