mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
[upstream_utils] Format Eigen patches with Eigen's clang-format config (#6699)
This commit is contained in:
@@ -15,10 +15,10 @@ index 32a427d852355a51dc4263d81498554ff4c3cbba..9f3e3f5b0f15518377c9a8283fd58081
|
||||
// See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325
|
||||
#pragma GCC diagnostic ignored "-Wattributes"
|
||||
#endif
|
||||
+#if __GNUC__>=11 && __GNUC__<=13
|
||||
+#if __GNUC__ >= 11 && __GNUC__ <= 13
|
||||
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
+#endif
|
||||
+#if __GNUC__>=12
|
||||
+#if __GNUC__ >= 12
|
||||
+#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
@@ -81,10 +81,10 @@
|
||||
// See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325
|
||||
#pragma GCC diagnostic ignored "-Wattributes"
|
||||
#endif
|
||||
#if __GNUC__>=11 && __GNUC__<=13
|
||||
#if __GNUC__ >= 11 && __GNUC__ <= 13
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
#if __GNUC__>=12
|
||||
#if __GNUC__ >= 12
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user