Add cpp_member_function and cpp_conversion_op

This commit is contained in:
Jonathan Müller 2017-01-24 21:15:49 +01:00
commit 03da9ceb63
5 changed files with 206 additions and 0 deletions

View file

@ -0,0 +1,19 @@
// Copyright (C) 2017 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <cppast/cpp_member_function.hpp>
#include <cppast/cpp_entity_kind.hpp>
using namespace cppast;
cpp_entity_kind cpp_member_function::do_get_entity_kind() const noexcept
{
return cpp_entity_kind::member_function_t;
}
cpp_entity_kind cpp_conversion_op::do_get_entity_kind() const noexcept
{
return cpp_entity_kind::conversion_op_t;
}