Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for restrict attribute on function parameters #26

Merged
merged 1 commit into from Aug 17, 2023

Commits on Aug 16, 2023

  1. [PATCH] Add support for restrict attribute on function parameters

    gcc/jit/Changelog:
    	* jit-playback.cc: Remove trailing whitespace characters.
    	* jit-playback.h: Add get_restrict method.
    	* jit-recording.cc: Add get_restrict methods.
    	* jit-recording.h: Add get_restrict methods.
    	* libgccjit++.h: Add get_restrict methods.
    	* libgccjit.cc: Add gcc_jit_type_get_restrict.
    	* libgccjit.h: Declare gcc_jit_type_get_restrict.
    	* libgccjit.map: Declare gcc_jit_type_get_restrict.
    
    gcc/testsuite/ChangeLog:
    	* jit.dg/test-restrict.c: Add test for __restrict__ attribute.
    
    Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
    GuillaumeGomez committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    840bab3 View commit details
    Browse the repository at this point in the history