Home
last modified time | relevance | path

Searched refs:DeclarationName (Results 1 – 25 of 91) sorted by relevance

1234

/external/clang/lib/AST/
DDeclarationName.cpp80 int DeclarationName::compare(DeclarationName LHS, DeclarationName RHS) { in compare()
85 case DeclarationName::Identifier: { in compare()
94 case DeclarationName::ObjCZeroArgSelector: in compare()
95 case DeclarationName::ObjCOneArgSelector: in compare()
96 case DeclarationName::ObjCMultiArgSelector: { in compare()
112 case DeclarationName::CXXConstructorName: in compare()
113 case DeclarationName::CXXDestructorName: in compare()
114 case DeclarationName::CXXConversionFunctionName: in compare()
121 case DeclarationName::CXXOperatorName: in compare()
125 case DeclarationName::CXXLiteralOperatorName: in compare()
[all …]
DItaniumMangle.cpp465 DeclarationName name,
480 void mangleUnqualifiedName(const NamedDecl *ND, DeclarationName Name,
510 void mangleOperatorName(DeclarationName Name, unsigned Arity);
539 DeclarationName name,
1155 DeclarationName name, in mangleUnresolvedName()
1160 case DeclarationName::Identifier: in mangleUnresolvedName()
1164 case DeclarationName::CXXDestructorName: in mangleUnresolvedName()
1169 case DeclarationName::CXXConversionFunctionName: in mangleUnresolvedName()
1170 case DeclarationName::CXXLiteralOperatorName: in mangleUnresolvedName()
1171 case DeclarationName::CXXOperatorName: in mangleUnresolvedName()
[all …]
DDeclOpenMP.cpp63 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create()
72 OMPDeclareReduction, /*DC=*/nullptr, SourceLocation(), DeclarationName(), in CreateDeserialized()
DASTImporter.cpp84 DeclContext *&LexicalDC, DeclarationName &Name,
2000 DeclarationName &Name, in ImportDeclParts()
2061 case DeclarationName::Identifier: in ImportDeclarationNameLoc()
2062 case DeclarationName::ObjCZeroArgSelector: in ImportDeclarationNameLoc()
2063 case DeclarationName::ObjCOneArgSelector: in ImportDeclarationNameLoc()
2064 case DeclarationName::ObjCMultiArgSelector: in ImportDeclarationNameLoc()
2065 case DeclarationName::CXXUsingDirective: in ImportDeclarationNameLoc()
2068 case DeclarationName::CXXOperatorName: { in ImportDeclarationNameLoc()
2073 case DeclarationName::CXXLiteralOperatorName: { in ImportDeclarationNameLoc()
2078 case DeclarationName::CXXConstructorName: in ImportDeclarationNameLoc()
[all …]
DDeclTemplate.cpp249 DeclarationName Name, in Create()
259 DeclarationName(), nullptr, nullptr); in CreateDeserialized()
326 DeclarationName Name, in Create()
340 DeclarationName(), nullptr, nullptr); in CreateDeserialized()
894 DeclarationName Name, in Create()
904 DeclarationName(), nullptr, nullptr); in CreateDeserialized()
949 SourceLocation L, DeclarationName Name, in Create()
958 DeclarationName(), nullptr, nullptr); in CreateDeserialized()
1236 DeclarationName Name, in BuiltinTemplateDecl()
DDeclCXX.cpp973 == DeclarationName::CXXConversionFunctionName) { in addedMember()
981 DeclarationName::CXXConstructorName) in addedMember()
1042 DeclarationName Name = in getLambdaCallOperator()
1059 DeclarationName Name = in getLambdaStaticInvoker()
1368 DeclarationName Name in getDestructor()
1830 == DeclarationName::CXXConstructorName && in Create()
1967 == DeclarationName::CXXDestructorName && in Create()
2000 == DeclarationName::CXXConversionFunctionName && in Create()
2149 : NamedDecl(K, DC, Loc, Using ? Using->getDeclName() : DeclarationName()), in UsingShadowDecl()
2158 : NamedDecl(K, nullptr, SourceLocation(), DeclarationName()), in UsingShadowDecl()
[all …]
DCXXInheritance.cpp377 DeclarationName Name) { in FindTagMember()
393 DeclarationName Name) { in FindOrdinaryMember()
410 DeclarationName Name) { in FindOMPReductionMember()
426 DeclarationName Name) { in FindNestedNameSpecifierMember()
/external/clang/include/clang/AST/
DDeclarationName.h48 class DeclarationName {
140 DeclarationName(CXXSpecialName *Name) in DeclarationName() function
148 DeclarationName(CXXOperatorIdName *Name) in DeclarationName() function
154 DeclarationName(CXXLiteralOperatorIdName *Name) in DeclarationName() function
161 DeclarationName(uintptr_t Ptr) : Ptr(Ptr) { } in DeclarationName() function
172 DeclarationName() : Ptr(0) { } in DeclarationName() function
175 DeclarationName(const IdentifierInfo *II) in DeclarationName() function
181 DeclarationName(Selector Sel) : Ptr(Sel.InfoPtr) { } in DeclarationName() function
184 static DeclarationName getUsingDirectiveName();
238 static DeclarationName getFromOpaquePtr(void *P) { in getFromOpaquePtr()
[all …]
DASTImporter.h188 DeclarationName Import(DeclarationName FromName);
249 virtual DeclarationName HandleNameConflict(DeclarationName Name,
DDeclLookups.h40 DeclarationName getLookupName() const { return It->first; } in getLookupName()
52 It->first == DeclarationName::getUsingDirectiveName());
DExternalASTSource.h26 class DeclarationName; variable
134 FindExternalVisibleDeclsByName(const DeclContext *DC, DeclarationName Name);
303 DeclarationName Name,
308 DeclarationName Name);
DDeclTemplate.h334 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name) in TemplateDecl()
340 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, in TemplateDecl()
346 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, in TemplateDecl()
714 SourceLocation L, DeclarationName Name, in RedeclarableTemplateDecl()
869 DeclarationName Name, TemplateParameterList *Params,
977 DeclarationName Name,
1494 DeclarationName Name, BuiltinTemplateKind BTK);
1504 DeclarationName Name,
1974 DeclarationName Name, TemplateParameterList *Params,
2002 DeclarationName Name,
[all …]
DDeclOpenMP.h117 DeclarationName Name, QualType Ty, in OMPDeclareReductionDecl()
129 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name,
/external/clang/lib/Sema/
DIdentifierResolver.cpp60 IdDeclInfo &operator[](DeclarationName Name);
143 DeclarationName Name = D->getDeclName(); in AddDecl()
168 DeclarationName Name = D->getDeclName(); in InsertDeclAfter()
209 DeclarationName Name = D->getDeclName(); in RemoveDecl()
228 IdentifierResolver::begin(DeclarationName Name) { in begin()
298 bool IdentifierResolver::tryAddTopLevelDecl(NamedDecl *D, DeclarationName Name){ in tryAddTopLevelDecl()
394 IdentifierResolver::IdDeclInfoMap::operator[](DeclarationName Name) { in operator []()
DSemaTemplateVariadic.cpp317 case DeclarationName::Identifier: in DiagnoseUnexpandedParameterPack()
318 case DeclarationName::ObjCZeroArgSelector: in DiagnoseUnexpandedParameterPack()
319 case DeclarationName::ObjCOneArgSelector: in DiagnoseUnexpandedParameterPack()
320 case DeclarationName::ObjCMultiArgSelector: in DiagnoseUnexpandedParameterPack()
321 case DeclarationName::CXXOperatorName: in DiagnoseUnexpandedParameterPack()
322 case DeclarationName::CXXLiteralOperatorName: in DiagnoseUnexpandedParameterPack()
323 case DeclarationName::CXXUsingDirective: in DiagnoseUnexpandedParameterPack()
326 case DeclarationName::CXXConstructorName: in DiagnoseUnexpandedParameterPack()
327 case DeclarationName::CXXDestructorName: in DiagnoseUnexpandedParameterPack()
328 case DeclarationName::CXXConversionFunctionName: in DiagnoseUnexpandedParameterPack()
DSemaTemplateInstantiate.cpp625 DeclarationName Entity;
633 DeclarationName Entity) in TemplateInstantiator()
648 DeclarationName getBaseEntity() { return Entity; } in getBaseEntity()
652 void setBase(SourceLocation Loc, DeclarationName Entity) { in setBase()
1456 DeclarationName Entity) { in SubstType()
1472 DeclarationName Entity) { in SubstType()
1502 SourceLocation Loc, DeclarationName Entity) { in SubstType()
1545 DeclarationName Entity, in SubstFunctionDeclType()
1725 DeclarationName()); in SubstParmTypes()
1781 DeclarationName()); in SubstBaseSpecifiers()
[all …]
DSema.cpp137 DeclarationName DN = &Context.Idents.get(Name); in addImplicitTypedef()
162 DeclarationName Int128 = &Context.Idents.get("__int128_t"); in Initialize()
166 DeclarationName UInt128 = &Context.Idents.get("__uint128_t"); in Initialize()
176 DeclarationName SEL = &Context.Idents.get("SEL"); in Initialize()
182 DeclarationName Id = &Context.Idents.get("id"); in Initialize()
187 DeclarationName Class = &Context.Idents.get("Class"); in Initialize()
192 DeclarationName Protocol = &Context.Idents.get("Protocol"); in Initialize()
198 DeclarationName ConstantString = &Context.Idents.get("__NSConstantString"); in Initialize()
252 DeclarationName MSVaList = &Context.Idents.get("__builtin_ms_va_list"); in Initialize()
257 DeclarationName BuiltinVaList = &Context.Idents.get("__builtin_va_list"); in Initialize()
DSemaLookup.cpp759 static bool isImplicitlyDeclaredMemberFunctionName(DeclarationName Name) { in isImplicitlyDeclaredMemberFunctionName()
761 case DeclarationName::CXXConstructorName: in isImplicitlyDeclaredMemberFunctionName()
762 case DeclarationName::CXXDestructorName: in isImplicitlyDeclaredMemberFunctionName()
765 case DeclarationName::CXXOperatorName: in isImplicitlyDeclaredMemberFunctionName()
778 DeclarationName Name, in DeclareImplicitMemberFunctionsWithName()
784 case DeclarationName::CXXConstructorName: in DeclareImplicitMemberFunctionsWithName()
798 case DeclarationName::CXXDestructorName: in DeclareImplicitMemberFunctionsWithName()
805 case DeclarationName::CXXOperatorName: in DeclareImplicitMemberFunctionsWithName()
850 != DeclarationName::CXXConversionFunctionName || in LookupDirect()
1038 DeclarationName Name = R.getLookupName(); in CppLookupName()
[all …]
/external/clang/include/clang/Serialization/
DASTBitCodes.h1579 DeclarationNameKey(DeclarationName Name);
1587 assert(Kind == DeclarationName::Identifier || in getIdentifier()
1588 Kind == DeclarationName::CXXLiteralOperatorName); in getIdentifier()
1592 assert(Kind == DeclarationName::ObjCZeroArgSelector || in getSelector()
1593 Kind == DeclarationName::ObjCOneArgSelector || in getSelector()
1594 Kind == DeclarationName::ObjCMultiArgSelector); in getSelector()
1598 assert(Kind == DeclarationName::CXXOperatorName); in getOperatorKind()
/external/clang/include/clang/Sema/
DIdentifierResolver.h26 class DeclarationName; variable
142 iterator begin(DeclarationName Name);
181 bool tryAddTopLevelDecl(NamedDecl *D, DeclarationName Name);
DTypoCorrection.h42 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl,
62 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = nullptr,
74 DeclarationName getCorrection() const { return CorrectionName; } in getCorrection()
239 DeclarationName CorrectionName;
/external/clang/lib/Serialization/
DASTWriter.cpp3446 case DeclarationName::Identifier: in EmitKeyDataLength()
3447 case DeclarationName::ObjCZeroArgSelector: in EmitKeyDataLength()
3448 case DeclarationName::ObjCOneArgSelector: in EmitKeyDataLength()
3449 case DeclarationName::ObjCMultiArgSelector: in EmitKeyDataLength()
3450 case DeclarationName::CXXLiteralOperatorName: in EmitKeyDataLength()
3453 case DeclarationName::CXXOperatorName: in EmitKeyDataLength()
3456 case DeclarationName::CXXConstructorName: in EmitKeyDataLength()
3457 case DeclarationName::CXXDestructorName: in EmitKeyDataLength()
3458 case DeclarationName::CXXConversionFunctionName: in EmitKeyDataLength()
3459 case DeclarationName::CXXUsingDirective: in EmitKeyDataLength()
[all …]
DASTReader.cpp341 typedef llvm::DenseMap<DeclarationName, SmallVector<NamedDecl *, 8> >
871 DeclarationNameKey::DeclarationNameKey(DeclarationName Name) in DeclarationNameKey()
874 case DeclarationName::Identifier: in DeclarationNameKey()
877 case DeclarationName::ObjCZeroArgSelector: in DeclarationNameKey()
878 case DeclarationName::ObjCOneArgSelector: in DeclarationNameKey()
879 case DeclarationName::ObjCMultiArgSelector: in DeclarationNameKey()
882 case DeclarationName::CXXOperatorName: in DeclarationNameKey()
885 case DeclarationName::CXXLiteralOperatorName: in DeclarationNameKey()
888 case DeclarationName::CXXConstructorName: in DeclarationNameKey()
889 case DeclarationName::CXXDestructorName: in DeclarationNameKey()
[all …]
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp121 clang::DeclarationName decl_name = potentially_mocked_method->getDeclName(); in AST_MATCHER_P()
1353 clang::DeclarationName GetUnresolvedName( in GetUnresolvedName()
1358 clang::DeclarationName GetUnresolvedName( in GetUnresolvedName()
1363 clang::DeclarationName GetUnresolvedName( in GetUnresolvedName()
1368 clang::DeclarationName GetUnresolvedName( in GetUnresolvedName()
1409 clang::DeclarationName decl_name = GetUnresolvedName(node); in run()
1415 case clang::DeclarationName::NameKind::CXXConversionFunctionName: in run()
1416 case clang::DeclarationName::NameKind::CXXOperatorName: in run()
1417 case clang::DeclarationName::NameKind::CXXLiteralOperatorName: in run()
/external/clang/unittests/AST/
DExternalASTSourceTest.cpp71 DeclarationName Name) override { in TEST()

1234