public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Add missing declaration of get_restrict in C++ interface
@ 2023-11-09 20:03 Guillaume Gomez
  2023-11-09 20:49 ` David Malcolm
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Gomez @ 2023-11-09 20:03 UTC (permalink / raw)
  To: gcc-patches, jit, David Malcolm, Antoni

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

Hi,

This patch adds the `get_restrict` method declaration for
the C++ interface as it was forgotten.

Thanks in advance for the review.

[-- Attachment #2: 0001-Add-missing-declaration-of-get_restrict-in-C-interfa.patch --]
[-- Type: text/x-patch, Size: 764 bytes --]

From e819fd01cd3e79bfab28a77f4ce78f34156e7a83 Mon Sep 17 00:00:00 2001
From: Guillaume Gomez <guillaume1.gomez@gmail.com>
Date: Thu, 9 Nov 2023 17:53:08 +0100
Subject: [PATCH] Add missing declaration of get_restrict in C++ interface

gcc/jit/ChangeLog:

	* libgccjit++.h:
---
 gcc/jit/libgccjit++.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/jit/libgccjit++.h b/gcc/jit/libgccjit++.h
index 4a04db386e6..f9a0017cae5 100644
--- a/gcc/jit/libgccjit++.h
+++ b/gcc/jit/libgccjit++.h
@@ -360,6 +360,7 @@ namespace gccjit
     type get_volatile ();
     type get_aligned (size_t alignment_in_bytes);
     type get_vector (size_t num_units);
+    type get_restrict ();
 
     // Shortcuts for getting values of numeric types:
     rvalue zero ();
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-09 21:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-09 20:03 [PATCH] Add missing declaration of get_restrict in C++ interface Guillaume Gomez
2023-11-09 20:49 ` David Malcolm
2023-11-09 20:51   ` Guillaume Gomez
2023-11-09 21:02     ` David Malcolm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).