Add appveyor.yml
This commit is contained in:
parent
1420abc81b
commit
d1fafdaa92
10 changed files with 40 additions and 24 deletions
|
|
@ -109,19 +109,13 @@ namespace cppast
|
|||
using token_seq = detail::semantic_string_view<struct token_seq_tag>;
|
||||
|
||||
/// Tag type to represent an end-of-line character.
|
||||
constexpr struct newl_t
|
||||
const struct newl_t
|
||||
{
|
||||
constexpr newl_t() noexcept
|
||||
{
|
||||
}
|
||||
} newl;
|
||||
|
||||
/// Tag type to represent a single space character.
|
||||
constexpr struct whitespace_t
|
||||
const struct whitespace_t
|
||||
{
|
||||
constexpr whitespace_t() noexcept
|
||||
{
|
||||
}
|
||||
} whitespace;
|
||||
|
||||
/// Base class to control the code generation.
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ namespace cppast
|
|||
/// \notes This may include template parameters.
|
||||
std::string semantic_scope() const noexcept
|
||||
{
|
||||
return semantic_parent_.map(&cpp_entity_ref::name).value_or("");
|
||||
return type_safe::copy(semantic_parent_.map(&cpp_entity_ref::name)).value_or("");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue