From 6b5d94a6bd01d19d111e0d928e227e2c0c9261ad Mon Sep 17 00:00:00 2001 From: sergesanspaille Date: Sun, 10 Mar 2019 17:46:45 +0000 Subject: [PATCH] Update patch context --- 0001-Fix-isInSystemMacro-to-handle-pasted-macros.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/0001-Fix-isInSystemMacro-to-handle-pasted-macros.patch b/0001-Fix-isInSystemMacro-to-handle-pasted-macros.patch index 7fb2fa3..f48f086 100644 --- a/0001-Fix-isInSystemMacro-to-handle-pasted-macros.patch +++ b/0001-Fix-isInSystemMacro-to-handle-pasted-macros.patch @@ -29,8 +29,8 @@ diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceMan index ba829a8773..b45357e645 100644 --- a/include/clang/Basic/SourceManager.h +++ b/include/clang/Basic/SourceManager.h -@@ -1440,6 +1440,12 @@ public: - return Filename.equals(""); +@@ -1428,6 +1428,12 @@ public: + return getFileID(Loc) == getMainFileID(); } + /// Returns whether \p Loc is located in a file. @@ -42,7 +42,7 @@ index ba829a8773..b45357e645 100644 /// Returns if a SourceLocation is in a system header. bool isInSystemHeader(SourceLocation Loc) const { return isSystem(getFileCharacteristic(Loc)); -@@ -1452,7 +1458,17 @@ public: +@@ -1440,7 +1446,17 @@ /// Returns whether \p Loc is expanded from a macro in a system header. bool isInSystemMacro(SourceLocation loc) const {