blob: 9d5ae588c50f151705b8547e5d0055cac5a519eb [file] [log] [blame]
Sean Hunt387475d2010-06-16 23:43:53 +00001//===----- 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
17namespace clang {
18
19namespace attr {
20
21// Kind - This is a list of all the recognized kinds of attributes.
22enum Kind {
23#define ATTR(X) X,
Peter Collingbournea97d70b2011-01-21 02:08:36 +000024#define LAST_INHERITABLE_ATTR(X) X, LAST_INHERITABLE = X,
John McCalleca5d222011-03-02 04:00:57 +000025#define LAST_INHERITABLE_PARAM_ATTR(X) X, LAST_INHERITABLE_PARAM = X,
Sean Hunt387475d2010-06-16 23:43:53 +000026#include "clang/Basic/AttrList.inc"
27 NUM_ATTRS
28};
29
30} // end namespace attr
31} // end namespace clang
32
33#endif