clang: include/clang/Sema/ObjCMethodList.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_CLANG_SEMA_OBJCMETHODLIST_H

14#define LLVM_CLANG_SEMA_OBJCMETHODLIST_H

15

17#include "llvm/ADT/PointerIntPair.h"

18

20

21class ObjCMethodDecl;

22

23

24

26

27

29

31

38

42 return *this;

43 }

44

49

52 }

55 }

56

59 }

62 }

63};

64

65}

66

67#endif

ObjCMethodDecl - Represents an instance or class method declaration.

The JSON file list parser is used to communicate input to InstallAPI.

a linked list of methods with the same selector name but different signatures.

ObjCMethodDecl * getMethod() const

void setMethod(ObjCMethodDecl *M)

void setNext(ObjCMethodList *L)

void setHasMoreThanOneDecl(bool B)

llvm::PointerIntPair< ObjCMethodDecl *, 1 > MethodAndHasMoreThanOneDecl

If there is more than one decl with this signature.

bool hasMoreThanOneDecl() const

ObjCMethodList(const ObjCMethodList &L)

ObjCMethodList * getNext() const

ObjCMethodList & operator=(const ObjCMethodList &L)

llvm::PointerIntPair< ObjCMethodList *, 2 > NextAndExtraBits

The next list object and 2 bits for extra info.

ObjCMethodList(ObjCMethodDecl *M)