clang API Documentation
00001 //===--- ObjCMethodList.h - A singly linked list of methods -----*- 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 ObjCMethodList, a singly-linked list of methods. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #ifndef LLVM_CLANG_SEMA_OBJC_METHOD_LIST_H 00015 #define LLVM_CLANG_SEMA_OBJC_METHOD_LIST_H 00016 00017 namespace clang { 00018 00019 class ObjCMethodDecl; 00020 00021 /// ObjCMethodList - a linked list of methods with different signatures. 00022 struct ObjCMethodList { 00023 ObjCMethodDecl *Method; 00024 ObjCMethodList *Next; 00025 00026 ObjCMethodList() { 00027 Method = 0; 00028 Next = 0; 00029 } 00030 ObjCMethodList(ObjCMethodDecl *M, ObjCMethodList *C) { 00031 Method = M; 00032 Next = C; 00033 } 00034 }; 00035 00036 } 00037 00038 #endif