ast: string literals that are not valid UTF are not convertible to strings

This commit is contained in:
Yoichi Hirai
2016-11-25 13:36:06 +01:00
parent aaf58a8c4e
commit e136ec8704
4 changed files with 12 additions and 3 deletions
+2
View File
@@ -425,6 +425,8 @@ public:
virtual std::string toString(bool) const override;
virtual TypePointer mobileType() const override;
bool isValidUTF8() const;
std::string const& value() const { return m_value; }
private: