forked from standardese/cppast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpp_preprocessor.cpp
More file actions
39 lines (30 loc) · 918 Bytes
/
Copy pathcpp_preprocessor.cpp
File metadata and controls
39 lines (30 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (C) 2017-2018 Jonathan Müller <[email protected]>
// 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_parameter::kind() noexcept
{
return cpp_entity_kind::macro_parameter_t;
}
cpp_entity_kind cpp_macro_parameter::do_get_entity_kind() const noexcept
{
return kind();
}
cpp_entity_kind cpp_macro_definition::kind() noexcept
{
return cpp_entity_kind::macro_definition_t;
}
cpp_entity_kind cpp_macro_definition::do_get_entity_kind() const noexcept
{
return kind();
}
cpp_entity_kind cpp_include_directive::kind() noexcept
{
return cpp_entity_kind::include_directive_t;
}
cpp_entity_kind cpp_include_directive::do_get_entity_kind() const noexcept
{
return kind();
}