Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit C++ string literals for HILTI string literals.
When emitting literals for HILTI strings (string ctors) we would previously explicitly force creation of `std::string`. This was almost always an unnecessary pessimisation over emitting string literals since even if their C++ uses expected `std::string` string literals can convert to this type implicitly; at the same time it made it impossible to make effective use of APIs accepting `std::string_view`. With this patch we now emit C++ string literals for HILTI string literals.
- Loading branch information