Skip to content

Commit 6670703

Browse files
committed
Added an extension point for irep ids
1 parent 38782bd commit 6670703

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
@@ -666,5 +666,13 @@ IREP_ID_TWO(overlay_class, java::com.diffblue.OverlayClassImplementation)
666666
IREP_ID_TWO(overlay_method, java::com.diffblue.OverlayMethodImplementation)
667667
IREP_ID_ONE(annotations)
668668

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

0 commit comments

Comments
 (0)