[PATCH] D143885: Adjust #pragma warning so GCC is not unhappy

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 02:10:35 PST 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa9329a96ada3: Adjust #pragma warning so GCC is not unhappy (authored by rogfer01).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143885/new/

https://reviews.llvm.org/D143885

Files:
  llvm/include/llvm/Support/Host.h


Index: llvm/include/llvm/Support/Host.h
===================================================================
--- llvm/include/llvm/Support/Host.h
+++ llvm/include/llvm/Support/Host.h
@@ -12,7 +12,7 @@
 //===----------------------------------------------------------------------===//
 
 #ifdef __GNUC__
-#pragma GCC warning(                                                           \
-    "This header is deprecated, please use llvm/TargetParser/Host.h")
+#pragma GCC warning                                                            \
+    "This header is deprecated, please use llvm/TargetParser/Host.h"
 #endif
 #include "llvm/TargetParser/Host.h"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143885.496881.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230213/77577e5c/attachment.bin>


More information about the llvm-commits mailing list