Skip to content

Commit 4bdf71a

Browse files
committed
Added an extension point for irep ids
1 parent 05b3ba4 commit 4bdf71a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/util/irep_ids.def

+8
Original file line numberDiff line numberDiff line change
@@ -665,5 +665,13 @@ IREP_ID_TWO(overlay_class, java::com.diffblue.OverlayClassImplementation)
665665
IREP_ID_TWO(overlay_method, java::com.diffblue.OverlayMethodImplementation)
666666
IREP_ID_ONE(annotations)
667667

668+
// Projects depending on this code base that wish to extend the list of
669+
// available ids should provide a file local_irep_ids.h in their source tree and
670+
// add -D'LOCAL_IREP_IDS=<project/local_irep_ids.h>' to their compiler command
671+
// line.
672+
#ifdef LOCAL_IREP_IDS
673+
#include LOCAL_IREP_IDS
674+
#endif
675+
668676
#undef IREP_ID_ONE
669677
#undef IREP_ID_TWO

0 commit comments

Comments
 (0)