Update clang-format
This commit is contained in:
parent
c755a885bf
commit
9f18b7f4d8
89 changed files with 11377 additions and 11546 deletions
|
|
@ -9,81 +9,81 @@
|
|||
|
||||
namespace cppast
|
||||
{
|
||||
/// All possible kinds of C++ entities.
|
||||
enum class cpp_entity_kind
|
||||
{
|
||||
file_t,
|
||||
/// All possible kinds of C++ entities.
|
||||
enum class cpp_entity_kind
|
||||
{
|
||||
file_t,
|
||||
|
||||
macro_parameter_t,
|
||||
macro_definition_t,
|
||||
include_directive_t,
|
||||
macro_parameter_t,
|
||||
macro_definition_t,
|
||||
include_directive_t,
|
||||
|
||||
language_linkage_t,
|
||||
language_linkage_t,
|
||||
|
||||
namespace_t,
|
||||
namespace_alias_t,
|
||||
using_directive_t,
|
||||
using_declaration_t,
|
||||
namespace_t,
|
||||
namespace_alias_t,
|
||||
using_directive_t,
|
||||
using_declaration_t,
|
||||
|
||||
type_alias_t,
|
||||
type_alias_t,
|
||||
|
||||
enum_t,
|
||||
enum_value_t,
|
||||
enum_t,
|
||||
enum_value_t,
|
||||
|
||||
class_t,
|
||||
access_specifier_t,
|
||||
base_class_t,
|
||||
class_t,
|
||||
access_specifier_t,
|
||||
base_class_t,
|
||||
|
||||
variable_t,
|
||||
member_variable_t,
|
||||
bitfield_t,
|
||||
variable_t,
|
||||
member_variable_t,
|
||||
bitfield_t,
|
||||
|
||||
function_parameter_t,
|
||||
function_t,
|
||||
member_function_t,
|
||||
conversion_op_t,
|
||||
constructor_t,
|
||||
destructor_t,
|
||||
function_parameter_t,
|
||||
function_t,
|
||||
member_function_t,
|
||||
conversion_op_t,
|
||||
constructor_t,
|
||||
destructor_t,
|
||||
|
||||
friend_t,
|
||||
friend_t,
|
||||
|
||||
template_type_parameter_t,
|
||||
non_type_template_parameter_t,
|
||||
template_template_parameter_t,
|
||||
template_type_parameter_t,
|
||||
non_type_template_parameter_t,
|
||||
template_template_parameter_t,
|
||||
|
||||
alias_template_t,
|
||||
variable_template_t,
|
||||
function_template_t,
|
||||
function_template_specialization_t,
|
||||
class_template_t,
|
||||
class_template_specialization_t,
|
||||
alias_template_t,
|
||||
variable_template_t,
|
||||
function_template_t,
|
||||
function_template_specialization_t,
|
||||
class_template_t,
|
||||
class_template_specialization_t,
|
||||
|
||||
static_assert_t,
|
||||
static_assert_t,
|
||||
|
||||
unexposed_t,
|
||||
unexposed_t,
|
||||
|
||||
count,
|
||||
};
|
||||
count,
|
||||
};
|
||||
|
||||
/// \returns A human readable string describing the entity kind.
|
||||
const char* to_string(cpp_entity_kind kind) noexcept;
|
||||
/// \returns A human readable string describing the entity kind.
|
||||
const char* to_string(cpp_entity_kind kind) noexcept;
|
||||
|
||||
/// \returns Whether or not a given entity kind is a C++ function,
|
||||
/// that is, it dervies from [cppast::cpp_function_base]().
|
||||
bool is_function(cpp_entity_kind kind) noexcept;
|
||||
/// \returns Whether or not a given entity kind is a C++ function,
|
||||
/// that is, it dervies from [cppast::cpp_function_base]().
|
||||
bool is_function(cpp_entity_kind kind) noexcept;
|
||||
|
||||
/// \returns Whether or not a given entity kind is a C++ (template) parameter.
|
||||
bool is_parameter(cpp_entity_kind kind) noexcept;
|
||||
/// \returns Whether or not a given entity kind is a C++ (template) parameter.
|
||||
bool is_parameter(cpp_entity_kind kind) noexcept;
|
||||
|
||||
/// \returns Whether or not a given entity kind is a C++ template,
|
||||
/// that is, it dervies from [cppast::cpp_template]().
|
||||
/// \notes A template template parameter is not considered a template for this function.
|
||||
/// \notes Template specializations are also considered templates here.
|
||||
bool is_template(cpp_entity_kind kind) noexcept;
|
||||
/// \returns Whether or not a given entity kind is a C++ template,
|
||||
/// that is, it dervies from [cppast::cpp_template]().
|
||||
/// \notes A template template parameter is not considered a template for this function.
|
||||
/// \notes Template specializations are also considered templates here.
|
||||
bool is_template(cpp_entity_kind kind) noexcept;
|
||||
|
||||
/// \returns Whether or not a given entity kind is a specialization of a C++ template,
|
||||
/// that is, it derives from [cppast::cpp_template_specialization]().
|
||||
bool is_template_specialization(cpp_entity_kind kind) noexcept;
|
||||
/// \returns Whether or not a given entity kind is a specialization of a C++ template,
|
||||
/// that is, it derives from [cppast::cpp_template_specialization]().
|
||||
bool is_template_specialization(cpp_entity_kind kind) noexcept;
|
||||
} // namespace cppast
|
||||
|
||||
#endif // CPPAST_CPP_ENTITY_KIND_HPP_INCLUDED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue