AttrKinds.h revision 263508
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_ATTRKINDS_H 16#define LLVM_CLANG_ATTRKINDS_H 17 18namespace clang { 19 20namespace attr { 21 22// \brief A list of all the recognized kinds of attributes. 23enum 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#define LAST_MS_INHERITANCE_ATTR(X) X, LAST_MS_INHERITANCE = X, 28#include "clang/Basic/AttrList.inc" 29 NUM_ATTRS 30}; 31 32} // end namespace attr 33} // end namespace clang 34 35#endif 36