reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3718 emitSourceFileHeader("Attribute name matcher", OS); 3792 OS << "static AttributeCommonInfo::Kind getAttrKind(StringRef Name, "; 3793 OS << "AttributeCommonInfo::Syntax Syntax) {\n"; 3794 OS << " if (AttributeCommonInfo::AS_GNU == Syntax) {\n"; 3795 StringMatcher("Name", GNU, OS).Emit(); 3796 OS << " } else if (AttributeCommonInfo::AS_Declspec == Syntax) {\n"; 3797 StringMatcher("Name", Declspec, OS).Emit(); 3798 OS << " } else if (AttributeCommonInfo::AS_Microsoft == Syntax) {\n"; 3799 StringMatcher("Name", Microsoft, OS).Emit(); 3800 OS << " } else if (AttributeCommonInfo::AS_CXX11 == Syntax) {\n"; 3801 StringMatcher("Name", CXX11, OS).Emit(); 3802 OS << " } else if (AttributeCommonInfo::AS_C2x == Syntax) {\n"; 3803 StringMatcher("Name", C2x, OS).Emit(); 3804 OS << " } else if (AttributeCommonInfo::AS_Keyword == Syntax || "; 3805 OS << "AttributeCommonInfo::AS_ContextSensitiveKeyword == Syntax) {\n"; 3806 StringMatcher("Name", Keywords, OS).Emit(); 3807 OS << " } else if (AttributeCommonInfo::AS_Pragma == Syntax) {\n"; 3808 StringMatcher("Name", Pragma, OS).Emit(); 3809 OS << " }\n"; 3810 OS << " return AttributeCommonInfo::UnknownAttribute;\n"