Lines Matching refs:FLAGS
116 /// The C90/C99/CPP/CPP0x flags are set to 3 if the token is a keyword in a
121 tok::TokenKind TokenCode, unsigned Flags,
124 if (Flags == KEYALL) AddResult = 2;
125 else if (LangOpts.CPlusPlus && (Flags & KEYCXX)) AddResult = 2;
126 else if (LangOpts.CPlusPlus11 && (Flags & KEYCXX11)) AddResult = 2;
127 else if (LangOpts.C99 && (Flags & KEYC99)) AddResult = 2;
128 else if (LangOpts.GNUKeywords && (Flags & KEYGNU)) AddResult = 1;
129 else if (LangOpts.MicrosoftExt && (Flags & KEYMS)) AddResult = 1;
130 else if (LangOpts.Borland && (Flags & KEYBORLAND)) AddResult = 1;
131 else if (LangOpts.Bool && (Flags & BOOLSUPPORT)) AddResult = 2;
132 else if (LangOpts.WChar && (Flags & WCHARSUPPORT)) AddResult = 2;
133 else if (LangOpts.AltiVec && (Flags & KEYALTIVEC)) AddResult = 2;
134 else if (LangOpts.OpenCL && (Flags & KEYOPENCL)) AddResult = 2;
135 else if (!LangOpts.CPlusPlus && (Flags & KEYNOCXX)) AddResult = 2;
136 else if (LangOpts.C11 && (Flags & KEYC11)) AddResult = 2;
139 else if (LangOpts.ObjC2 && (Flags & KEYARC)) AddResult = 2;
140 else if (LangOpts.CPlusPlus && (Flags & KEYCXX11)) AddResult = 3;
143 if (LangOpts.MicrosoftMode && (Flags & KEYNOMS))
175 #define KEYWORD(NAME, FLAGS) \
177 FLAGS, LangOpts, *this);
178 #define ALIAS(NAME, TOK, FLAGS) \
180 FLAGS, LangOpts, *this);
190 #define TESTING_KEYWORD(NAME, FLAGS)