mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 14:07:51 +00:00
38d2b10b9e
I chose the wrong call when trying to support clang 3.9 and it's removal of getRBraceLoc. The best equivalent call in 3.9 is getBraceRange().getEnd().
11 lines
215 B
C++
11 lines
215 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
|
|
|
|
#endif
|