Add and parse cpp_static_assert

This commit is contained in:
Jonathan Müller 2017-04-11 20:21:25 +02:00
commit 4db09778b5
14 changed files with 200 additions and 6 deletions

19
src/cpp_static_assert.cpp Normal file
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_static_assert.hpp>
#include <cppast/cpp_entity_kind.hpp>
using namespace cppast;
cppast::cpp_entity_kind cpp_static_assert::kind() noexcept
{
return cpp_entity_kind::static_assert_t;
}
cppast::cpp_entity_kind cpp_static_assert::do_get_entity_kind() const noexcept
{
return kind();
}