Add cpp_macro_definition
This commit is contained in:
parent
78157d43fc
commit
54b6c86e5b
5 changed files with 86 additions and 0 deletions
14
src/cpp_preprocessor.cpp
Normal file
14
src/cpp_preprocessor.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// 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_preprocessor.hpp>
|
||||
|
||||
#include <cppast/cpp_entity_kind.hpp>
|
||||
|
||||
using namespace cppast;
|
||||
|
||||
cpp_entity_kind cpp_macro_definition::do_get_entity_kind() const noexcept
|
||||
{
|
||||
return cpp_entity_kind::macro_definition_t;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue