diff options
Diffstat (limited to '')
-rw-r--r-- | m0/mutator-lvl0.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/m0/mutator-lvl0.h b/m0/mutator-lvl0.h index 5881228..1891fef 100644 --- a/m0/mutator-lvl0.h +++ b/m0/mutator-lvl0.h @@ -37,6 +37,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.* #include "clang/AST/ASTContext.h" #include "clang/AST/ASTTypeTraits.h" /**********************************************************************************************************************/ +/*macros*/ +#if __clang_major__ <= 6 +#define DEVI_GETLOCSTART getLocStart +#define DEVI_GETLOCEND getLocEnd +#elif __clang_major__ >= 8 +#define DEVI_GETLOCSTART getBeginLoc +#define DEVI_GETLOCEND getEndLoc +#endif +/**********************************************************************************************************************/ /*externals*/ /**********************************************************************************************************************/ struct WeakPoint |