mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

This largely copies over Spicy's `.clang-format` configuration file. The one place where we deviate is header include order since Zeek depends on headers being included in a certain order.
17 lines
499 B
C++
17 lines
499 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
// Definitions associated with type attributes.
|
|
|
|
#pragma once
|
|
|
|
namespace zeek::detail {
|
|
|
|
enum AttrExprType {
|
|
AE_NONE, // attribute doesn't have an expression
|
|
AE_CONST, // easy expression - a constant (ConstExpr)
|
|
AE_NAME, // easy - a global (NameExpr)
|
|
AE_RECORD, // an empty record cast to a given type
|
|
AE_CALL, // everything else - requires a lambda, essentially
|
|
};
|
|
|
|
} // namespace zeek::detail
|