[cfe-dev] parsing llvm type strings from an in-memory string

Seth Goldstein via cfe-dev cfe-dev at lists.llvm.org
Mon Dec 18 08:01:25 PST 2017


For various reasons, I want to be able to use the `LLParser` machinery to
create `Type` objects.  So, I need to create an LLParser which will parse a
string, instead of a reading it from a file.  If I was doing this in clang,
then I think I would need to use an instance of `InMemoryFileSystem` which
inherits from `FileSystem`.

However, I want to do this in an llvm pass.  Any suggestions?

--------------
Seth Copen Goldstein
Carnegie Mellon University
Computer Science Dept
7111 GHC
412-268-3828
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20171218/990c329f/attachment.html>


More information about the cfe-dev mailing list