Upstream StringLiteralParser?

This is a humble request to consider upstreaming StringLiteralParser into core LLVM. To my knowledge, many languages seem to follow (at least a subset of) C/C++ string escaping conventions, and this file would be useful for those language designers (myself included) who might otherwise roll their own implementation.

v/r,
Josh

This is a humble request to consider upstreaming StringLiteralParser into
core LLVM. To my knowledge, many languages seem to follow (at least a
subset of) C/C++ string escaping conventions, and this file would be useful
for those language designers (myself included) who might otherwise roll
their own implementation.

There are actually a large variety of subtle differences. Most languages
are neither a subset nor a superset of C/C++ string escaping conventions.
Writing a string literal parser is easy anyway (just a loop with a switch).

-- Sean Silva