Add cpp_macro_definition

This commit is contained in:
Jonathan Müller 2017-02-10 19:25:02 +01:00
commit 54b6c86e5b
5 changed files with 86 additions and 0 deletions

14
src/cpp_preprocessor.cpp Normal file
View 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;
}