Sean Hunt | 387475d | 2010-06-16 23:43:53 +0000 | [diff] [blame] | 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 | // This file defines the attr::Kind enum |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef LLVM_CLANG_ATTRKINDS_H |
| 15 | #define LLVM_CLANG_ATTRKINDS_H |
| 16 | |
| 17 | namespace clang { |
| 18 | |
| 19 | namespace attr { |
| 20 | |
| 21 | // Kind - This is a list of all the recognized kinds of attributes. |
| 22 | enum Kind { |
| 23 | #define ATTR(X) X, |
Peter Collingbourne | a97d70b | 2011-01-21 02:08:36 +0000 | [diff] [blame] | 24 | #define LAST_INHERITABLE_ATTR(X) X, LAST_INHERITABLE = X, |
John McCall | eca5d22 | 2011-03-02 04:00:57 +0000 | [diff] [blame] | 25 | #define LAST_INHERITABLE_PARAM_ATTR(X) X, LAST_INHERITABLE_PARAM = X, |
Sean Hunt | 387475d | 2010-06-16 23:43:53 +0000 | [diff] [blame] | 26 | #include "clang/Basic/AttrList.inc" |
| 27 | NUM_ATTRS |
| 28 | }; |
| 29 | |
| 30 | } // end namespace attr |
| 31 | } // end namespace clang |
| 32 | |
| 33 | #endif |