mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Simplify declaration of DefPointType enum
This commit is contained in:
parent
40b41964f9
commit
990bbb1626
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ namespace zeek::detail {
|
||||||
// definition (a statement, inside an expression, an aggregate passed to
|
// definition (a statement, inside an expression, an aggregate passed to
|
||||||
// a function or hook, or at the start of a function).
|
// a function or hook, or at the start of a function).
|
||||||
|
|
||||||
typedef enum {
|
enum DefPointType {
|
||||||
// Used to capture the notion "the variable may have no definition
|
// Used to capture the notion "the variable may have no definition
|
||||||
// at this point" (or "has no definition", depending on whether we're
|
// at this point" (or "has no definition", depending on whether we're
|
||||||
// concerned with minimal or maximal RDs).
|
// concerned with minimal or maximal RDs).
|
||||||
|
@ -42,7 +42,7 @@ typedef enum {
|
||||||
// it's a function parameter.
|
// it's a function parameter.
|
||||||
FUNC_DEF,
|
FUNC_DEF,
|
||||||
|
|
||||||
} DefPointType;
|
};
|
||||||
|
|
||||||
class DefinitionPoint {
|
class DefinitionPoint {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue