LLVM API Documentation
#include <Annotation.h>
Public Types | |
| typedef Annotation *(* | Factory )(AnnotationID, const Annotable *, void *) |
Static Public Member Functions | |
| static AnnotationID | getID (const char *Name) |
| static const char * | getName (AnnotationID ID) |
| static AnnotationID | getID (const char *Name, Factory Fact, void *Data=0) |
| static void | registerAnnotationFactory (AnnotationID ID, Factory Func, void *ExtraData=0) |
| static Annotation * | createAnnotation (AnnotationID ID, const Annotable *Obj) |
Definition at line 168 of file Annotation.h.
| typedef Annotation*(* llvm::AnnotationManager::Factory)(AnnotationID, const Annotable *, void *) |
| AnnotationID AnnotationManager::getID | ( | const char * | Name | ) | [static] |
| const char * AnnotationManager::getName | ( | AnnotationID | ID | ) | [static] |
| AnnotationID AnnotationManager::getID | ( | const char * | Name, | |
| Factory | Fact, | |||
| void * | Data = 0 | |||
| ) | [static] |
| void AnnotationManager::registerAnnotationFactory | ( | AnnotationID | ID, | |
| Factory | Func, | |||
| void * | ExtraData = 0 | |||
| ) | [static] |
Definition at line 99 of file Annotation.cpp.
References eraseFromFactMap(), getFactMap(), and llvm::AnnotationID::ID.
Referenced by getID().
| Annotation * AnnotationManager::createAnnotation | ( | AnnotationID | ID, | |
| const Annotable * | Obj | |||
| ) | [static] |
Definition at line 110 of file Annotation.cpp.
References getFactMap(), and llvm::AnnotationID::ID.
Referenced by llvm::Annotable::getOrCreateAnnotation().