Home
last modified time | relevance | path

Searched refs:DeclarationName (Results 1 – 25 of 77) 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 …]
DMicrosoftMangle.cpp51 void mangleUnqualifiedName(const NamedDecl *ND, DeclarationName Name);
294 DeclarationName Name) { in mangleUnqualifiedName()
299 case DeclarationName::Identifier: { in mangleUnqualifiedName()
332 case DeclarationName::ObjCZeroArgSelector: in mangleUnqualifiedName()
333 case DeclarationName::ObjCOneArgSelector: in mangleUnqualifiedName()
334 case DeclarationName::ObjCMultiArgSelector: in mangleUnqualifiedName()
337 case DeclarationName::CXXConstructorName: in mangleUnqualifiedName()
341 case DeclarationName::CXXDestructorName: in mangleUnqualifiedName()
345 case DeclarationName::CXXConversionFunctionName: in mangleUnqualifiedName()
351 case DeclarationName::CXXOperatorName: in mangleUnqualifiedName()
[all …]
DASTImporter.cpp83 DeclContext *&LexicalDC, DeclarationName &Name,
1720 DeclarationName &Name, in ImportDeclParts()
1779 case DeclarationName::Identifier: in ImportDeclarationNameLoc()
1780 case DeclarationName::ObjCZeroArgSelector: in ImportDeclarationNameLoc()
1781 case DeclarationName::ObjCOneArgSelector: in ImportDeclarationNameLoc()
1782 case DeclarationName::ObjCMultiArgSelector: in ImportDeclarationNameLoc()
1783 case DeclarationName::CXXUsingDirective: in ImportDeclarationNameLoc()
1786 case DeclarationName::CXXOperatorName: { in ImportDeclarationNameLoc()
1791 case DeclarationName::CXXLiteralOperatorName: { in ImportDeclarationNameLoc()
1796 case DeclarationName::CXXConstructorName: in ImportDeclarationNameLoc()
[all …]
DCXXInheritance.cpp382 DeclarationName N = DeclarationName::getFromOpaquePtr(Name); in FindTagMember()
399 DeclarationName N = DeclarationName::getFromOpaquePtr(Name); in FindOrdinaryMember()
416 DeclarationName N = DeclarationName::getFromOpaquePtr(Name); in FindNestedNameSpecifierMember()
DExternalASTSource.cpp48 DeclarationName Name) { in FindExternalVisibleDeclsByName()
DItaniumMangle.cpp290 DeclarationName name,
299 void mangleUnqualifiedName(const NamedDecl *ND, DeclarationName Name,
339 DeclarationName name,
1023 DeclarationName name, in mangleUnresolvedName()
1052 DeclarationName Name, in mangleUnqualifiedName()
1058 case DeclarationName::Identifier: { in mangleUnqualifiedName()
1148 case DeclarationName::ObjCZeroArgSelector: in mangleUnqualifiedName()
1149 case DeclarationName::ObjCOneArgSelector: in mangleUnqualifiedName()
1150 case DeclarationName::ObjCMultiArgSelector: in mangleUnqualifiedName()
1153 case DeclarationName::CXXConstructorName: in mangleUnqualifiedName()
[all …]
DCMakeLists.txt14 DeclarationName.cpp
DASTDiagnostic.cpp258 DeclarationName N = DeclarationName::getFromOpaqueInteger(Val); in FormatASTNodeDiagnosticArgument()
/external/clang/include/clang/AST/
DDeclarationName.h42 class DeclarationName {
130 DeclarationName(CXXSpecialName *Name) in DeclarationName() function
138 DeclarationName(CXXOperatorIdName *Name) in DeclarationName() function
144 DeclarationName(CXXLiteralOperatorIdName *Name) in DeclarationName() function
151 DeclarationName(uintptr_t Ptr) : Ptr(Ptr) { } in DeclarationName() function
162 DeclarationName() : Ptr(0) { } in DeclarationName() function
165 DeclarationName(const IdentifierInfo *II) in DeclarationName() function
171 DeclarationName(Selector Sel);
174 static DeclarationName getUsingDirectiveName();
226 static DeclarationName getFromOpaquePtr(void *P) { in getFromOpaquePtr()
[all …]
DASTImporter.h179 DeclarationName Import(DeclarationName FromName);
232 virtual DeclarationName HandleNameConflict(DeclarationName Name,
DExternalASTSource.h25 class DeclarationName; variable
127 FindExternalVisibleDeclsByName(const DeclContext *DC, DeclarationName Name);
270 DeclarationName Name,
275 DeclarationName Name);
DDeclTemplate.h207 DeclarationName Name) in TemplateDecl()
213 DeclarationName Name, TemplateParameterList *Params) in TemplateDecl()
218 DeclarationName Name, TemplateParameterList *Params, in TemplateDecl()
579 DeclarationName Name, TemplateParameterList *Params, in RedeclarableTemplateDecl()
721 FunctionTemplateDecl(DeclContext *DC, SourceLocation L, DeclarationName Name,
813 DeclarationName Name,
1720 ClassTemplateDecl(DeclContext *DC, SourceLocation L, DeclarationName Name,
1726 DeclarationName(), 0, 0) { }
1749 DeclarationName Name,
1984 TypeAliasTemplateDecl(DeclContext *DC, SourceLocation L, DeclarationName Name,
[all …]
DRecursiveASTVisitor.h665 case DeclarationName::CXXConstructorName: in TraverseDeclarationNameInfo()
666 case DeclarationName::CXXDestructorName: in TraverseDeclarationNameInfo()
667 case DeclarationName::CXXConversionFunctionName: in TraverseDeclarationNameInfo()
673 case DeclarationName::Identifier: in TraverseDeclarationNameInfo()
674 case DeclarationName::ObjCZeroArgSelector: in TraverseDeclarationNameInfo()
675 case DeclarationName::ObjCOneArgSelector: in TraverseDeclarationNameInfo()
676 case DeclarationName::ObjCMultiArgSelector: in TraverseDeclarationNameInfo()
677 case DeclarationName::CXXOperatorName: in TraverseDeclarationNameInfo()
678 case DeclarationName::CXXLiteralOperatorName: in TraverseDeclarationNameInfo()
679 case DeclarationName::CXXUsingDirective: in TraverseDeclarationNameInfo()
/external/clang/lib/Sema/
DIdentifierResolver.cpp61 IdDeclInfo &operator[](DeclarationName Name);
152 DeclarationName Name = D->getDeclName(); in AddDecl()
177 DeclarationName Name = D->getDeclName(); in InsertDeclAfter()
218 DeclarationName Name = D->getDeclName(); in RemoveDecl()
239 DeclarationName Name = Old->getDeclName(); in ReplaceDecl()
261 IdentifierResolver::begin(DeclarationName Name) { in begin()
320 bool IdentifierResolver::tryAddTopLevelDecl(NamedDecl *D, DeclarationName Name){ in tryAddTopLevelDecl()
416 IdentifierResolver::IdDeclInfoMap::operator[](DeclarationName Name) { in operator []()
DSemaTemplateVariadic.cpp261 case DeclarationName::Identifier: in DiagnoseUnexpandedParameterPack()
262 case DeclarationName::ObjCZeroArgSelector: in DiagnoseUnexpandedParameterPack()
263 case DeclarationName::ObjCOneArgSelector: in DiagnoseUnexpandedParameterPack()
264 case DeclarationName::ObjCMultiArgSelector: in DiagnoseUnexpandedParameterPack()
265 case DeclarationName::CXXOperatorName: in DiagnoseUnexpandedParameterPack()
266 case DeclarationName::CXXLiteralOperatorName: in DiagnoseUnexpandedParameterPack()
267 case DeclarationName::CXXUsingDirective: in DiagnoseUnexpandedParameterPack()
270 case DeclarationName::CXXConstructorName: in DiagnoseUnexpandedParameterPack()
271 case DeclarationName::CXXDestructorName: in DiagnoseUnexpandedParameterPack()
272 case DeclarationName::CXXConversionFunctionName: in DiagnoseUnexpandedParameterPack()
DSemaTemplateInstantiate.cpp687 DeclarationName Entity;
695 DeclarationName Entity) in TemplateInstantiator()
710 DeclarationName getBaseEntity() { return Entity; } in getBaseEntity()
714 void setBase(SourceLocation Loc, DeclarationName Entity) { in setBase()
1401 DeclarationName Entity) { in SubstType()
1417 DeclarationName Entity) { in SubstType()
1447 SourceLocation Loc, DeclarationName Entity) { in SubstType()
1496 DeclarationName Entity, in SubstFunctionDeclType()
1628 DeclarationName()); in SubstParmTypes()
1682 DeclarationName()); in SubstBaseSpecifiers()
[all …]
DSemaLookup.cpp578 static bool isImplicitlyDeclaredMemberFunctionName(DeclarationName Name) { in isImplicitlyDeclaredMemberFunctionName()
580 case DeclarationName::CXXConstructorName: in isImplicitlyDeclaredMemberFunctionName()
581 case DeclarationName::CXXDestructorName: in isImplicitlyDeclaredMemberFunctionName()
584 case DeclarationName::CXXOperatorName: in isImplicitlyDeclaredMemberFunctionName()
597 DeclarationName Name, in DeclareImplicitMemberFunctionsWithName()
603 case DeclarationName::CXXConstructorName: in DeclareImplicitMemberFunctionsWithName()
618 case DeclarationName::CXXDestructorName: in DeclareImplicitMemberFunctionsWithName()
625 case DeclarationName::CXXOperatorName: in DeclareImplicitMemberFunctionsWithName()
670 != DeclarationName::CXXConversionFunctionName || in LookupDirect()
843 DeclarationName Name = R.getLookupName(); in CppLookupName()
[all …]
DSema.cpp145 DeclarationName Int128 = &Context.Idents.get("__int128_t"); in Initialize()
149 DeclarationName UInt128 = &Context.Idents.get("__uint128_t"); in Initialize()
159 DeclarationName SEL = &Context.Idents.get("SEL"); in Initialize()
165 DeclarationName Id = &Context.Idents.get("id"); in Initialize()
170 DeclarationName Class = &Context.Idents.get("Class"); in Initialize()
175 DeclarationName Protocol = &Context.Idents.get("Protocol"); in Initialize()
/external/clang/include/clang/Sema/
DTypoCorrection.h40 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl,
58 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS=0,
68 DeclarationName getCorrection() const { return CorrectionName; } in getCorrection()
190 DeclarationName CorrectionName;
DIdentifierResolver.h26 class DeclarationName; variable
147 iterator begin(DeclarationName Name);
189 bool tryAddTopLevelDecl(NamedDecl *D, DeclarationName Name);
DLookup.h149 LookupResult(Sema &SemaRef, DeclarationName Name,
198 DeclarationName getLookupName() const { in getLookupName()
203 void setLookupName(DeclarationName Name) { in setLookupName()
/external/clang/lib/Serialization/
DASTWriter.cpp2666 typedef DeclarationName key_type;
2674 unsigned ComputeHash(DeclarationName Name) { in ComputeHash()
2679 case DeclarationName::Identifier: in ComputeHash()
2682 case DeclarationName::ObjCZeroArgSelector: in ComputeHash()
2683 case DeclarationName::ObjCOneArgSelector: in ComputeHash()
2684 case DeclarationName::ObjCMultiArgSelector: in ComputeHash()
2687 case DeclarationName::CXXConstructorName: in ComputeHash()
2688 case DeclarationName::CXXDestructorName: in ComputeHash()
2689 case DeclarationName::CXXConversionFunctionName: in ComputeHash()
2691 case DeclarationName::CXXOperatorName: in ComputeHash()
[all …]
DASTReaderInternals.h52 DeclarationName::NameKind Kind;
54 DeclNameKey() : Kind((DeclarationName::NameKind)0), Data(0) { } in DeclNameKey()
57 typedef DeclarationName external_key_type;
DASTReader.cpp614 case DeclarationName::Identifier: in ComputeHash()
615 case DeclarationName::CXXLiteralOperatorName: in ComputeHash()
618 case DeclarationName::ObjCZeroArgSelector: in ComputeHash()
619 case DeclarationName::ObjCOneArgSelector: in ComputeHash()
620 case DeclarationName::ObjCMultiArgSelector: in ComputeHash()
623 case DeclarationName::CXXOperatorName: in ComputeHash()
626 case DeclarationName::CXXConstructorName: in ComputeHash()
627 case DeclarationName::CXXDestructorName: in ComputeHash()
628 case DeclarationName::CXXConversionFunctionName: in ComputeHash()
629 case DeclarationName::CXXUsingDirective: in ComputeHash()
[all …]
/external/clang/include/clang/Frontend/
DChainedIncludesSource.h48 FindExternalVisibleDeclsByName(const DeclContext *DC, DeclarationName Name);

1234