diff options
-rw-r--r-- | include/Support/Annotation.h | 3 | ||||
-rw-r--r-- | include/llvm/Annotation.h | 3 | ||||
-rw-r--r-- | include/llvm/Support/Annotation.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/include/Support/Annotation.h b/include/Support/Annotation.h index 933ca19db3..c444ce6066 100644 --- a/include/Support/Annotation.h +++ b/include/Support/Annotation.h @@ -176,7 +176,8 @@ struct AnnotationManager { // Annotable::getOrCreateAnnotation method. // static void registerAnnotationFactory(AnnotationID ID, - Annotation *(*Func)(AnnotationID, Annotable *)); + Annotation *(*Func)(AnnotationID, Annotable *, void*), + void *ExtraData = 0); // createAnnotation - Create an annotation of the specified ID for the // specified object, using a register annotation creation function. diff --git a/include/llvm/Annotation.h b/include/llvm/Annotation.h index 933ca19db3..c444ce6066 100644 --- a/include/llvm/Annotation.h +++ b/include/llvm/Annotation.h @@ -176,7 +176,8 @@ struct AnnotationManager { // Annotable::getOrCreateAnnotation method. // static void registerAnnotationFactory(AnnotationID ID, - Annotation *(*Func)(AnnotationID, Annotable *)); + Annotation *(*Func)(AnnotationID, Annotable *, void*), + void *ExtraData = 0); // createAnnotation - Create an annotation of the specified ID for the // specified object, using a register annotation creation function. diff --git a/include/llvm/Support/Annotation.h b/include/llvm/Support/Annotation.h index 933ca19db3..c444ce6066 100644 --- a/include/llvm/Support/Annotation.h +++ b/include/llvm/Support/Annotation.h @@ -176,7 +176,8 @@ struct AnnotationManager { // Annotable::getOrCreateAnnotation method. // static void registerAnnotationFactory(AnnotationID ID, - Annotation *(*Func)(AnnotationID, Annotable *)); + Annotation *(*Func)(AnnotationID, Annotable *, void*), + void *ExtraData = 0); // createAnnotation - Create an annotation of the specified ID for the // specified object, using a register annotation creation function. |