Add and parse cpp_static_assert
This commit is contained in:
parent
d125869df5
commit
4db09778b5
14 changed files with 200 additions and 6 deletions
19
src/cpp_static_assert.cpp
Normal file
19
src/cpp_static_assert.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_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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue