Add cpp_member_variable and cpp_bitfield

This commit is contained in:
Jonathan Müller 2017-01-24 20:47:50 +01:00
commit d2b5a79ba2
5 changed files with 108 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_variable.hpp>
#include <cppast/cpp_entity_kind.hpp>
using namespace cppast;
cpp_entity_kind cpp_member_variable::do_get_entity_kind() const noexcept
{
return cpp_entity_kind::member_variable_t;
}
cpp_entity_kind cpp_bitfield::do_get_entity_kind() const noexcept
{
return cpp_entity_kind::bitfield_t;
}