public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
From: Guillaume Gomez <guillaume1.gomez@gmail.com>
To: gcc-patches@gcc.gnu.org, jit@gcc.gnu.org,
	 David Malcolm <dmalcolm@redhat.com>, Antoni <bouanto@zoho.com>
Subject: [PATCH] Add missing declaration of get_restrict in C++ interface
Date: Thu, 9 Nov 2023 21:03:43 +0100	[thread overview]
Message-ID: <CAAOQCfQ3BuvdnvyxvwSP2h_VZK8tEkfKGrANnRomYbJRXvtg6w@mail.gmail.com> (raw)

[-- 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


             reply	other threads:[~2023-11-09 20:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-09 20:03 Guillaume Gomez [this message]
2023-11-09 20:49 ` David Malcolm
2023-11-09 20:51   ` Guillaume Gomez
2023-11-09 21:02     ` David Malcolm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAOQCfQ3BuvdnvyxvwSP2h_VZK8tEkfKGrANnRomYbJRXvtg6w@mail.gmail.com \
    --to=guillaume1.gomez@gmail.com \
    --cc=bouanto@zoho.com \
    --cc=dmalcolm@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jit@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).