Add cpp_file
This commit is contained in:
parent
865217a190
commit
170c4045e2
6 changed files with 91 additions and 8 deletions
|
|
@ -10,6 +10,8 @@ bool cppast::is_scope(cpp_entity_type type) noexcept
|
|||
{
|
||||
switch (type)
|
||||
{
|
||||
case cpp_entity_type::file_t:
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
14
src/cpp_file.cpp
Normal file
14
src/cpp_file.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_file.hpp>
|
||||
|
||||
#include <cppast/cpp_entity_type.hpp>
|
||||
|
||||
using namespace cppast;
|
||||
|
||||
cpp_entity_type cpp_file::do_get_entity_type() const noexcept
|
||||
{
|
||||
return cpp_entity_type::file_t;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue