[clang] 13fdcd3 - [NFC] Builtins: list 'R' for restrict

JF Bastien via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 26 12:58:28 PDT 2020


Author: JF Bastien
Date: 2020-06-26T12:58:17-07:00
New Revision: 13fdcd37b325f62ff2513c59807de9ad0a9d2a51

URL: https://github.com/llvm/llvm-project/commit/13fdcd37b325f62ff2513c59807de9ad0a9d2a51
DIFF: https://github.com/llvm/llvm-project/commit/13fdcd37b325f62ff2513c59807de9ad0a9d2a51.diff

LOG: [NFC] Builtins: list 'R' for restrict

It was added to the list of builtin modifiers in r148573 back in 2012-01-20, but the comment wasn't updated.

Added: 
    

Modified: 
    clang/include/clang/Basic/Builtins.def

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/Builtins.def b/clang/include/clang/Basic/Builtins.def
index c060d49ba338..1416a64543a4 100644
--- a/clang/include/clang/Basic/Builtins.def
+++ b/clang/include/clang/Basic/Builtins.def
@@ -65,6 +65,7 @@
 // & -> reference (optionally followed by an address space number)
 // C -> const
 // D -> volatile
+// R -> restrict
 
 // The third value provided to the macro specifies information about attributes
 // of the function.  These must be kept in sync with the predicates in the


        


More information about the cfe-commits mailing list