Home | History | Annotate | Download | only in Basic

Lines Matching refs:Keyword

79 // Language Keyword Implementation
115 /// How a keyword is treated in the selected standard.
120 KS_Future // Is a keyword in future standard
125 /// Translates flags as specified in TokenKinds.def into keyword status
164 static void AddKeyword(StringRef Keyword,
169 // Don't add this keyword under MSVCCompat.
174 // Don't add this keyword under OpenCL.
178 // Don't add this keyword if disabled in this language.
182 Table.get(Keyword, AddResult == KS_Future ? tok::identifier : TokenCode);
187 /// AddCXXOperatorKeyword - Register a C++ operator keyword alternative
189 static void AddCXXOperatorKeyword(StringRef Keyword,
192 IdentifierInfo &Info = Table.get(Keyword, TokenCode);
196 /// AddObjCKeyword - Register an Objective-C \@keyword like "class" "selector"
208 #define KEYWORD(NAME, FLAGS) \
233 // Add the 'import' contextual keyword.
237 /// Checks if the specified token kind represents a keyword in the
239 /// \returns Status of the keyword in the language.
243 #define KEYWORD(NAME, FLAGS) \
250 /// Returns true if the identifier represents a keyword in the
262 /// Returns true if the identifier represents a C++ keyword in the
267 // This is a C++ keyword if this identifier is not a keyword when checked
310 // We use a perfect hash function here involving the length of the keyword,
406 /// selector containing more than one keyword. We use a folding set
407 /// to unique aggregate names (keyword selectors in ObjC parlance). Access to
415 // Constructor for keyword selectors.
418 assert((nKeys > 1) && "not a multi-keyword selector");
420 // Fill in the trailing keyword array.
488 assert(argIndex == 0 && "illegal keyword index");
533 // We have a multiple keyword selector.
755 "_Nullable_result isn't supported as context-sensitive keyword");