Add cpp_member_function and cpp_conversion_op
This commit is contained in:
parent
d2b5a79ba2
commit
03da9ceb63
5 changed files with 206 additions and 0 deletions
19
src/cpp_member_function.cpp
Normal file
19
src/cpp_member_function.cpp
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue