]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/clang/Basic/AttrKinds.h
Vendor import of clang trunk r338150:
[FreeBSD/FreeBSD.git] / include / clang / Basic / AttrKinds.h
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 /// 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 // A list of all the recognized kinds of attributes.
23 enum Kind {
24 #define ATTR(X) X,
25 #define ATTR_RANGE(CLASS, FIRST_NAME, LAST_NAME) \
26   First##CLASS = FIRST_NAME,                    \
27   Last##CLASS = LAST_NAME,
28 #include "clang/Basic/AttrList.inc"
29 };
30
31 } // end namespace attr
32 } // end namespace clang
33
34 #endif