forked from OSchip/llvm-project
Fix PR2041: restrict is not a keyword in c90.
llvm-svn: 47160
This commit is contained in:
parent
9e805b24fd
commit
287c734075
|
@ -204,7 +204,7 @@ KEYWORD(inline , EXTC90) // Ext in C90, ok in C99/C++
|
|||
KEYWORD(int , 0)
|
||||
KEYWORD(long , 0)
|
||||
KEYWORD(register , 0)
|
||||
KEYWORD(restrict , EXTC90) // Ext in C90
|
||||
KEYWORD(restrict , NOTC90) // Not in C90
|
||||
KEYWORD(return , 0)
|
||||
KEYWORD(short , 0)
|
||||
KEYWORD(signed , 0)
|
||||
|
|
|
@ -30,3 +30,6 @@ int test4 = 0LL; /* expected-warning {{long long}} */
|
|||
/* PR1999 */
|
||||
void test5(register);
|
||||
|
||||
/* PR2041 */
|
||||
int *restrict;
|
||||
|
||||
|
|
Loading…
Reference in New Issue