Skip to content

Commit

Permalink
Added an extension point for irep ids
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Apr 25, 2018
1 parent 38782bd commit 6670703
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/util/irep_ids.def
Original file line number Diff line number Diff line change
Expand Up @@ -666,5 +666,13 @@ IREP_ID_TWO(overlay_class, java::com.diffblue.OverlayClassImplementation)
IREP_ID_TWO(overlay_method, java::com.diffblue.OverlayMethodImplementation)
IREP_ID_ONE(annotations)

// Projects depending on this code base that wish to extend the list of
// available ids should provide a file local_irep_ids.h in their source tree and
// add -D'LOCAL_IREP_IDS=<project/local_irep_ids.h>' to their compiler command
// line.
#ifdef LOCAL_IREP_IDS
#include LOCAL_IREP_IDS
#endif

#undef IREP_ID_ONE
#undef IREP_ID_TWO

0 comments on commit 6670703

Please sign in to comment.