The patch diagnoses a Keyword as a future keyword if it exist in the upcoming language mode. such that
int restrict;
in the c modes earlier than C99 then will give a warning to the user that is a future keyword in C99. Now it handles keywords from C as well as C++