Searched defs:Keyword (Results 1 - 16 of 16) sorted by relevance

/external/javassist/src/main/javassist/compiler/ast/
H A DKeyword.java21 * Keyword.
23 public class Keyword extends ASTree { class in inherits:ASTree
26 public Keyword(int token) { method in class:Keyword
/external/clang/lib/Basic/
H A DIdentifierTable.cpp80 // Language Keyword Implementation
110 static void AddKeyword(StringRef Keyword, argument
133 Table.get(Keyword, AddResult == 3 ? tok::identifier : TokenCode);
140 static void AddCXXOperatorKeyword(StringRef Keyword, argument
143 IdentifierInfo &Info = Table.get(Keyword, TokenCode);
/external/clang/lib/AST/
H A DType.cpp1364 TypeWithKeyword::getTagTypeKindForKeyword(ElaboratedTypeKeyword Keyword) { argument
1365 switch (Keyword) {
1378 TypeWithKeyword::KeywordIsTagTypeKind(ElaboratedTypeKeyword Keyword) { argument
1379 switch (Keyword) {
1393 TypeWithKeyword::getKeywordName(ElaboratedTypeKeyword Keyword) { argument
1394 switch (Keyword) {
1408 ElaboratedTypeKeyword Keyword,
1412 : TypeWithKeyword(Keyword, DependentTemplateSpecialization, Canon, true, true,
1429 ElaboratedTypeKeyword Keyword,
1434 ID.AddInteger(Keyword);
1407 DependentTemplateSpecializationType( ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name, unsigned NumArgs, const TemplateArgument *Args, QualType Canon) argument
1427 Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context, ElaboratedTypeKeyword Keyword, NestedNameSpecifier *Qualifier, const IdentifierInfo *Name, unsigned NumArgs, const TemplateArgument *Args) argument
1442 ElaboratedTypeKeyword Keyword; local
[all...]
H A DASTContext.cpp2496 ASTContext::getElaboratedType(ElaboratedTypeKeyword Keyword, argument
2500 ElaboratedType::Profile(ID, Keyword, NNS, NamedType);
2515 T = new (*this) ElaboratedType(Keyword, NNS, NamedType, Canon);
2545 QualType ASTContext::getDependentNameType(ElaboratedTypeKeyword Keyword, argument
2553 ElaboratedTypeKeyword CanonKeyword = Keyword;
2554 if (Keyword == ETK_None)
2557 if (CanonNNS != NNS || CanonKeyword != Keyword)
2562 DependentNameType::Profile(ID, Keyword, NNS, Name);
2570 T = new (*this) DependentNameType(Keyword, NNS, Name, Canon);
2578 ElaboratedTypeKeyword Keyword,
2577 getDependentTemplateSpecializationType( ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name, const TemplateArgumentListInfo &Args) const argument
2592 getDependentTemplateSpecializationType( ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name, unsigned NumArgs, const TemplateArgument *Args) const argument
[all...]
/external/clang/lib/Parse/
H A DParseDecl.cpp586 IdentifierInfo *Keyword = Tok.getIdentifierInfo(); local
589 if (Keyword == Ident_unavailable) {
592 << Keyword << SourceRange(UnavailableLoc);
605 << Keyword;
620 if (Keyword == Ident_introduced)
622 else if (Keyword == Ident_deprecated)
624 else if (Keyword == Ident_obsoleted)
632 << Keyword
642 << Keyword << VersionRange;
/external/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp759 ElaboratedTypeKeyword Keyword,
931 ElaboratedTypeKeyword Keyword,
944 if (Keyword != ETK_None && Keyword != ETK_Typename) {
945 TagTypeKind Kind = TypeWithKeyword::getTagTypeKindForKeyword(Keyword);
958 Keyword,
930 RebuildElaboratedType(SourceLocation KeywordLoc, ElaboratedTypeKeyword Keyword, NestedNameSpecifierLoc QualifierLoc, QualType T) argument
H A DSemaType.cpp761 ElaboratedTypeKeyword Keyword local
763 Result = S.getElaboratedType(Keyword, DS.getTypeSpecScope(), Result);
2899 ElaboratedTypeKeyword Keyword local
2909 TL.setKeywordLoc(Keyword != ETK_None
2917 ElaboratedTypeKeyword Keyword local
2927 TL.setKeywordLoc(Keyword != ETK_None
2936 ElaboratedTypeKeyword Keyword local
2938 if (Keyword == ETK_Typename) {
2948 TL.setKeywordLoc(Keyword != ETK_None
4224 /// \brief Retrieve a version of the type 'T' that is elaborated by Keyword
4226 getElaboratedType(ElaboratedTypeKeyword Keyword, const CXXScopeSpec &SS, QualType T) argument
[all...]
H A DSemaCodeComplete.cpp2438 Result.AddTypedTextChunk(Keyword);
2617 std::string Keyword; local
2621 Keyword += II->getName();
2622 Keyword += ":";
2624 Result.AddInformativeChunk(Result.getAllocator().CopyString(Keyword));
2626 Result.AddTypedTextChunk(Result.getAllocator().CopyString(Keyword));
4143 // Macro that expands to @Keyword or Keyword, depending on whether NeedAt is
4145 #define OBJC_AT_KEYWORD_NAME(NeedAt,Keyword) NeedAt? "@" #Keyword
[all...]
H A DSemaLookup.cpp3056 void addKeywordResult(StringRef Keyword);
3126 void TypoCorrectionConsumer::addKeywordResult(StringRef Keyword) { argument
3130 unsigned ED = Typo.edit_distance(Keyword);
3137 addName(Keyword, NULL, ED, NULL, true);
H A DSemaTemplate.cpp2115 ElaboratedTypeKeyword Keyword local
2119 QualType T = Context.getDependentTemplateSpecializationType(Keyword,
2180 Result = Context.getElaboratedType(Keyword, SS.getScopeRep(), Result);
6540 Sema::CheckTypenameType(ElaboratedTypeKeyword Keyword, argument
6553 return Context.getDependentNameType(Keyword,
6596 return Context.getDependentNameType(Keyword,
H A DSemaDeclCXX.cpp9766 ElaboratedTypeKeyword Keyword local
9768 QualType T = CheckTypenameType(Keyword, TagLoc, QualifierLoc,
H A DTreeTransform.h746 ElaboratedTypeKeyword Keyword,
749 return SemaRef.Context.getElaboratedType(Keyword,
760 ElaboratedTypeKeyword Keyword,
777 return SemaRef.Context.getDependentTemplateSpecializationType(Keyword,
788 if (Keyword == ETK_None && QualifierLoc.getNestedNameSpecifier() == 0)
791 return SemaRef.Context.getElaboratedType(Keyword,
801 QualType RebuildDependentNameType(ElaboratedTypeKeyword Keyword, argument
812 return SemaRef.Context.getDependentNameType(Keyword,
817 if (Keyword == ETK_None || Keyword
745 RebuildElaboratedType(SourceLocation KeywordLoc, ElaboratedTypeKeyword Keyword, NestedNameSpecifierLoc QualifierLoc, QualType Named) argument
759 RebuildDependentTemplateSpecializationType( ElaboratedTypeKeyword Keyword, NestedNameSpecifierLoc QualifierLoc, const IdentifierInfo *Name, SourceLocation NameLoc, TemplateArgumentListInfo &Args) argument
[all...]
/external/clang/include/clang/AST/
H A DExprCXX.h2771 SourceLocation Keyword, SourceLocation RParen)
2777 Value(Val == CT_Cannot), Operand(Operand), Range(Keyword, RParen)
2770 CXXNoexceptExpr(QualType Ty, Expr *Operand, CanThrowResult Val, SourceLocation Keyword, SourceLocation RParen) argument
H A DType.h1211 unsigned Keyword : 8;
3647 TypeWithKeyword(ElaboratedTypeKeyword Keyword, TypeClass tc, argument
3653 TypeWithKeywordBits.Keyword = Keyword;
3658 return static_cast<ElaboratedTypeKeyword>(TypeWithKeywordBits.Keyword);
3677 static TagTypeKind getTagTypeKindForKeyword(ElaboratedTypeKeyword Keyword);
3679 static bool KeywordIsTagTypeKind(ElaboratedTypeKeyword Keyword);
3681 static const char *getKeywordName(ElaboratedTypeKeyword Keyword);
3707 ElaboratedType(ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, argument
3709 : TypeWithKeyword(Keyword, Elaborate
3741 Profile(llvm::FoldingSetNodeID &ID, ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, QualType NamedType) argument
3771 DependentNameType(ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name, QualType CanonType) argument
3805 Profile(llvm::FoldingSetNodeID &ID, ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name) argument
[all...]
/external/clang/lib/Serialization/
H A DASTReader.cpp3406 ElaboratedTypeKeyword Keyword = (ElaboratedTypeKeyword)Record[Idx++]; local
3409 return Context.getElaboratedType(Keyword, NNS, NamedType);
3474 ElaboratedTypeKeyword Keyword = (ElaboratedTypeKeyword)Record[Idx++]; local
3480 return Context.getDependentNameType(Keyword, NNS, Name, Canon);
3485 ElaboratedTypeKeyword Keyword = (ElaboratedTypeKeyword)Record[Idx++]; local
3493 return Context.getDependentTemplateSpecializationType(Keyword, NNS, Name,
/external/clang/include/clang/Sema/
H A DSema.h854 QualType getElaboratedType(ElaboratedTypeKeyword Keyword,
904 const IdentifierInfo *Keyword; member in class:clang::Sema::NameClassification
913 NameClassification(const IdentifierInfo *Keyword) argument
914 : Kind(NC_Keyword), Keyword(Keyword) { }
4131 QualType CheckTypenameType(ElaboratedTypeKeyword Keyword,

Completed in 425 milliseconds