clang API Documentation

AttrKinds.h
Go to the documentation of this file.
00001 //===----- Attr.h - Enum values for C Attribute Kinds ----------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 ///
00010 /// \file
00011 /// \brief Defines the clang::attr::Kind enum.
00012 ///
00013 //===----------------------------------------------------------------------===//
00014 
00015 #ifndef LLVM_CLANG_BASIC_ATTRKINDS_H
00016 #define LLVM_CLANG_BASIC_ATTRKINDS_H
00017 
00018 namespace clang {
00019 
00020 namespace attr {
00021 
00022 // \brief A list of all the recognized kinds of attributes.
00023 enum Kind {
00024 #define ATTR(X) X,
00025 #define LAST_INHERITABLE_ATTR(X) X, LAST_INHERITABLE = X,
00026 #define LAST_INHERITABLE_PARAM_ATTR(X) X, LAST_INHERITABLE_PARAM = X,
00027 #include "clang/Basic/AttrList.inc"
00028   NUM_ATTRS
00029 };
00030 
00031 } // end namespace attr
00032 } // end namespace clang
00033 
00034 #endif