зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1731582 - starting with clang-13 `Expr::isRValue` has been changed to `Expr::isPRValue`. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D126318
This commit is contained in:
Родитель
0504488366
Коммит
8e5068999f
|
@ -8,6 +8,11 @@
|
|||
#include "MemMoveAnnotation.h"
|
||||
#include "Utils.h"
|
||||
|
||||
#if CLANG_VERSION_FULL >= 1300
|
||||
// Starting with clang-13 Expr::isRValue has been renamed to Expr::isPRValue
|
||||
#define isRValue isPRValue
|
||||
#endif
|
||||
|
||||
namespace clang {
|
||||
namespace ast_matchers {
|
||||
|
||||
|
@ -429,4 +434,5 @@ AST_MATCHER(MemberExpr, hasKnownLiveAnnotation) {
|
|||
} // namespace ast_matchers
|
||||
} // namespace clang
|
||||
|
||||
#undef isRValue
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче