cprover
|
C/C++ Language Conversion. More...
#include "convert_string_literal.h"
#include <cassert>
#include <util/arith_tools.h>
#include <util/c_types.h>
#include <util/unicode.h>
#include <util/string_constant.h>
#include "unescape_string.h"
Go to the source code of this file.
Functions | |
std::basic_string< unsigned int > | convert_one_string_literal (const std::string &src) |
exprt | convert_string_literal (const std::string &src) |
C/C++ Language Conversion.
Definition in file convert_string_literal.cpp.
std::basic_string<unsigned int> convert_one_string_literal | ( | const std::string & | src | ) |
Definition at line 23 of file convert_string_literal.cpp.
References unescape_string(), unescape_wide_string(), and utf32_native_endian_to_utf8().
Referenced by convert_string_literal().
exprt convert_string_literal | ( | const std::string & | src | ) |
Definition at line 71 of file convert_string_literal.cpp.
References char16_t_type(), char32_t_type(), convert_one_string_literal(), irept::find(), from_integer(), index_type(), exprt::operands(), irept::set(), string_constantt::set_value(), typet::subtype(), exprt::type(), and wchar_t_type().
Referenced by yyansi_clex(), and yyjsillex().