CodeSonar C++ API
[For improved navigation, enable JavaScript.]
cs_procedure_kind.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023, an unpublished work by CodeSecure, Inc.
3  * ALL RIGHTS RESERVED
4  *
5  * Copyright (c) 2013-2023, an unpublished work by GrammaTech, Inc.
6  * ALL RIGHTS RESERVED
7  *
8  * This software is furnished under a license and may be used and
9  * copied only in accordance with the terms of such license and the
10  * inclusion of the above copyright notice. This software or any
11  * other copies thereof may not be provided or otherwise made
12  * available to any other person. Title to and ownership of the
13  * software is retained by CodeSecure, Inc.
14  */
15 
16 #ifndef CS_PROCEDURE_KIND_HPP
17 #define CS_PROCEDURE_KIND_HPP
18 
19 #include "cs_enum_boilerplate.hpp"
20 #include "cs_pdg.h"
21 
24 namespace cs{
31  CS_ENUM_BOILERPLATE_UB(procedure_kind, cs_pdg_kind,
32  check(cs_pdg_kind_name(
33  inner, &rv)),
34  cs_pdg_kind_count);
36  };
37  CS_ENUM_BOILERPLATE_FRIENDS(procedure_kind,
38  friend class depfilter;
39  friend class procedure;,
40  cs
41  )
42 #include "cs_procedure_kind_defs.hpp"
43 
44 }
45 
46 #endif /* CS_PROCEDURE_KIND_HPP */
Enumeration class: the "kind" of a procedure.
Definition: cs_procedure_kind.hpp:30
Namespace for CodeSonar/CodeSurfer API.
Definition: cs_ast.hpp:33
A single procedure/function/method.
Definition: cs_procedure_decl.hpp:173