mirror of
https://github.com/nasa/trick.git
synced 2025-02-06 10:59:27 +00:00
17 lines
310 B
C++
17 lines
310 B
C++
#ifndef BRACEMACRO_HH
|
|
#define BRACEMACRO_HH
|
|
|
|
#if (LIBCLANG_MAJOR > 3) || ((LIBCLANG_MAJOR == 3) && (LIBCLANG_MINOR >= 9))
|
|
#define RBRACELOC getBraceRange().getEnd
|
|
#else
|
|
#define RBRACELOC getRBraceLoc
|
|
#endif
|
|
|
|
#if (LIBCLANG_MAJOR >=8)
|
|
#define GETLOCEND getEndLoc
|
|
#else
|
|
#define GETLOCEND getLocEnd
|
|
#endif
|
|
|
|
#endif
|