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 //  This file defines the attr::Kind enum
00011 //
00012 //===----------------------------------------------------------------------===//
00013 
00014 #ifndef LLVM_CLANG_ATTRKINDS_H
00015 #define LLVM_CLANG_ATTRKINDS_H
00016 
00017 namespace clang {
00018 
00019 namespace attr {
00020 
00021 // Kind - This is a list of all the recognized kinds of attributes.
00022 enum Kind {
00023 #define ATTR(X) X,
00024 #define LAST_INHERITABLE_ATTR(X) X, LAST_INHERITABLE = X,
00025 #define LAST_INHERITABLE_PARAM_ATTR(X) X, LAST_INHERITABLE_PARAM = X,
00026 #include "clang/Basic/AttrList.inc"
00027   NUM_ATTRS
00028 };
00029 
00030 } // end namespace attr
00031 } // end namespace clang
00032 
00033 #endif