1 //===----- Attr.h - Enum values for C Attribute Kinds ----------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// \brief Defines the clang::attr::Kind enum.
12 ///
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_CLANG_BASIC_ATTRKINDS_H
16 #define LLVM_CLANG_BASIC_ATTRKINDS_H
17 
18 namespace clang {
19 
20 namespace attr {
21 
22 // \brief A list of all the recognized kinds of attributes.
23 enum Kind {
24 #define ATTR(X) X,
25 #define LAST_INHERITABLE_ATTR(X) X, LAST_INHERITABLE = X,
26 #define LAST_INHERITABLE_PARAM_ATTR(X) X, LAST_INHERITABLE_PARAM = X,
27 #include "clang/Basic/AttrList.inc"
28   NUM_ATTRS
29 };
30 
31 } // end namespace attr
32 } // end namespace clang
33 
34 #endif
35