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
38 lines (29 loc) · 819 Bytes
/
Copy pathcpp_preprocessor.cpp
File metadata and controls
38 lines (29 loc) · 819 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
// Copyright (C) 2017-2022 Jonathan Müller and cppast contributors
// SPDX-License-Identifier: MIT
#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();
}