forked from OSchip/llvm-project
Tweak r355278 for compatibility with gcc 6 and earlier.
llvm-svn: 355280
This commit is contained in:
parent
1ce395f25e
commit
cf03bd92d6
|
@ -18,7 +18,7 @@ using namespace clang;
|
|||
|
||||
// Once LLVM switches to C++17, the constexpr variables can be inline and we
|
||||
// won't need this.
|
||||
#define SANITIZER(NAME, ID) const SanitizerMask SanitizerKind::ID;
|
||||
#define SANITIZER(NAME, ID) constexpr SanitizerMask SanitizerKind::ID;
|
||||
#define SANITIZER_GROUP(NAME, ID, ALIAS) \
|
||||
constexpr SanitizerMask SanitizerKind::ID; \
|
||||
constexpr SanitizerMask SanitizerKind::ID##Group;
|
||||
|
|
Loading…
Reference in New Issue