Home
last modified time | relevance | path

Searched refs:DeclarationName (Results 1 – 25 of 83) 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.cpp334 DeclarationName name,
343 void mangleUnqualifiedName(const NamedDecl *ND, DeclarationName Name,
365 void mangleOperatorName(DeclarationName Name, unsigned Arity);
390 DeclarationName name,
891 DeclarationName name, in mangleUnresolvedName()
896 case DeclarationName::Identifier: in mangleUnresolvedName()
900 case DeclarationName::CXXDestructorName: in mangleUnresolvedName()
905 case DeclarationName::CXXConversionFunctionName: in mangleUnresolvedName()
906 case DeclarationName::CXXLiteralOperatorName: in mangleUnresolvedName()
907 case DeclarationName::CXXOperatorName: in mangleUnresolvedName()
[all …]
DASTImporter.cpp83 DeclContext *&LexicalDC, DeclarationName &Name,
1884 DeclarationName &Name, in ImportDeclParts()
1945 case DeclarationName::Identifier: in ImportDeclarationNameLoc()
1946 case DeclarationName::ObjCZeroArgSelector: in ImportDeclarationNameLoc()
1947 case DeclarationName::ObjCOneArgSelector: in ImportDeclarationNameLoc()
1948 case DeclarationName::ObjCMultiArgSelector: in ImportDeclarationNameLoc()
1949 case DeclarationName::CXXUsingDirective: in ImportDeclarationNameLoc()
1952 case DeclarationName::CXXOperatorName: { in ImportDeclarationNameLoc()
1957 case DeclarationName::CXXLiteralOperatorName: { in ImportDeclarationNameLoc()
1962 case DeclarationName::CXXConstructorName: in ImportDeclarationNameLoc()
[all …]
DDeclTemplate.cpp258 DeclarationName Name, in Create()
268 DeclarationName(), nullptr, nullptr); in CreateDeserialized()
335 DeclarationName Name, in Create()
349 DeclarationName(), nullptr, nullptr); in CreateDeserialized()
928 DeclarationName Name, in Create()
938 DeclarationName(), nullptr, nullptr); in CreateDeserialized()
983 SourceLocation L, DeclarationName Name, in Create()
992 DeclarationName(), nullptr, nullptr); in CreateDeserialized()
1256 DeclarationName Name, in BuiltinTemplateDecl()
DDeclCXX.cpp926 == DeclarationName::CXXConversionFunctionName) { in addedMember()
986 DeclarationName Name = in getLambdaCallOperator()
1003 DeclarationName Name = in getLambdaStaticInvoker()
1300 DeclarationName Name in getDestructor()
1751 == DeclarationName::CXXConstructorName && in Create()
1903 == DeclarationName::CXXDestructorName && in Create()
1936 == DeclarationName::CXXConversionFunctionName && in Create()
2165 DeclarationName TargetName) { in Create()
2197 SourceLocation L, DeclarationName N, in Create()
2208 DeclarationName(), QualType(), nullptr, in CreateDeserialized()
DMicrosoftMangle.cpp277 void mangleUnqualifiedName(const NamedDecl *ND, DeclarationName Name);
688 DeclarationName Name) { in mangleUnqualifiedName()
731 case DeclarationName::Identifier: { in mangleUnqualifiedName()
811 case DeclarationName::ObjCZeroArgSelector: in mangleUnqualifiedName()
812 case DeclarationName::ObjCOneArgSelector: in mangleUnqualifiedName()
813 case DeclarationName::ObjCMultiArgSelector: in mangleUnqualifiedName()
816 case DeclarationName::CXXConstructorName: in mangleUnqualifiedName()
830 case DeclarationName::CXXDestructorName: in mangleUnqualifiedName()
841 case DeclarationName::CXXConversionFunctionName: in mangleUnqualifiedName()
847 case DeclarationName::CXXOperatorName: in mangleUnqualifiedName()
[all …]
DCMakeLists.txt20 DeclarationName.cpp
/external/clang/include/clang/AST/
DDeclarationName.h47 class DeclarationName {
139 DeclarationName(CXXSpecialName *Name) in DeclarationName() function
147 DeclarationName(CXXOperatorIdName *Name) in DeclarationName() function
153 DeclarationName(CXXLiteralOperatorIdName *Name) in DeclarationName() function
160 DeclarationName(uintptr_t Ptr) : Ptr(Ptr) { } in DeclarationName() function
171 DeclarationName() : Ptr(0) { } in DeclarationName() function
174 DeclarationName(const IdentifierInfo *II) in DeclarationName() function
180 DeclarationName(Selector Sel) : Ptr(Sel.InfoPtr) { } in DeclarationName() function
183 static DeclarationName getUsingDirectiveName();
237 static DeclarationName getFromOpaquePtr(void *P) { in getFromOpaquePtr()
[all …]
DASTImporter.h187 DeclarationName Import(DeclarationName FromName);
240 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.h338 DeclarationName Name) in TemplateDecl()
345 DeclarationName Name, TemplateParameterList *Params) in TemplateDecl()
351 DeclarationName Name, TemplateParameterList *Params, in TemplateDecl()
709 SourceLocation L, DeclarationName Name, in RedeclarableTemplateDecl()
864 DeclarationName Name, TemplateParameterList *Params,
972 DeclarationName Name,
1492 DeclarationName Name, BuiltinTemplateKind BTK);
1502 DeclarationName Name,
1972 DeclarationName Name, TemplateParameterList *Params,
2000 DeclarationName Name,
[all …]
DDeclCXX.h1553 CXXBasePath &Path, DeclarationName Name);
1561 CXXBasePath &Path, DeclarationName Name);
1571 DeclarationName Name);
2571 static DeclarationName getName() { in getName()
2572 return DeclarationName::getUsingDirectiveName(); in getName()
2782 : NamedDecl(UsingShadow, DC, Loc, DeclarationName()), in UsingShadowDecl()
3131 SourceLocation TargetNameLoc, DeclarationName TargetName);
3219 MSPropertyDecl(DeclContext *DC, SourceLocation L, DeclarationName N, in MSPropertyDecl()
3227 SourceLocation L, DeclarationName N, QualType T,
/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.cpp628 DeclarationName Entity;
636 DeclarationName Entity) in TemplateInstantiator()
651 DeclarationName getBaseEntity() { return Entity; } in getBaseEntity()
655 void setBase(SourceLocation Loc, DeclarationName Entity) { in setBase()
1454 DeclarationName Entity) { in SubstType()
1470 DeclarationName Entity) { in SubstType()
1500 SourceLocation Loc, DeclarationName Entity) { in SubstType()
1553 DeclarationName Entity, in SubstFunctionDeclType()
1731 DeclarationName()); in SubstParmTypes()
1788 DeclarationName()); in SubstBaseSpecifiers()
[all …]
DSema.cpp134 DeclarationName DN = &Context.Idents.get(Name); in addImplicitTypedef()
159 DeclarationName Int128 = &Context.Idents.get("__int128_t"); in Initialize()
163 DeclarationName UInt128 = &Context.Idents.get("__uint128_t"); in Initialize()
173 DeclarationName SEL = &Context.Idents.get("SEL"); in Initialize()
179 DeclarationName Id = &Context.Idents.get("id"); in Initialize()
184 DeclarationName Class = &Context.Idents.get("Class"); in Initialize()
189 DeclarationName Protocol = &Context.Idents.get("Protocol"); 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.cpp744 static bool isImplicitlyDeclaredMemberFunctionName(DeclarationName Name) { in isImplicitlyDeclaredMemberFunctionName()
746 case DeclarationName::CXXConstructorName: in isImplicitlyDeclaredMemberFunctionName()
747 case DeclarationName::CXXDestructorName: in isImplicitlyDeclaredMemberFunctionName()
750 case DeclarationName::CXXOperatorName: in isImplicitlyDeclaredMemberFunctionName()
763 DeclarationName Name, in DeclareImplicitMemberFunctionsWithName()
769 case DeclarationName::CXXConstructorName: in DeclareImplicitMemberFunctionsWithName()
783 case DeclarationName::CXXDestructorName: in DeclareImplicitMemberFunctionsWithName()
790 case DeclarationName::CXXOperatorName: in DeclareImplicitMemberFunctionsWithName()
835 != DeclarationName::CXXConversionFunctionName || in LookupDirect()
1023 DeclarationName Name = R.getLookupName(); in CppLookupName()
[all …]
/external/clang/include/clang/Serialization/
DASTBitCodes.h1550 DeclarationNameKey(DeclarationName Name);
1558 assert(Kind == DeclarationName::Identifier || in getIdentifier()
1559 Kind == DeclarationName::CXXLiteralOperatorName); in getIdentifier()
1563 assert(Kind == DeclarationName::ObjCZeroArgSelector || in getSelector()
1564 Kind == DeclarationName::ObjCOneArgSelector || in getSelector()
1565 Kind == DeclarationName::ObjCMultiArgSelector); in getSelector()
1569 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()
233 DeclarationName CorrectionName;
DLookup.h151 LookupResult(Sema &SemaRef, DeclarationName Name,
204 DeclarationName getLookupName() const { in getLookupName()
209 void setLookupName(DeclarationName Name) { in setLookupName()
/external/clang/lib/Serialization/
DASTWriter.cpp3410 case DeclarationName::Identifier: in EmitKeyDataLength()
3411 case DeclarationName::ObjCZeroArgSelector: in EmitKeyDataLength()
3412 case DeclarationName::ObjCOneArgSelector: in EmitKeyDataLength()
3413 case DeclarationName::ObjCMultiArgSelector: in EmitKeyDataLength()
3414 case DeclarationName::CXXLiteralOperatorName: in EmitKeyDataLength()
3417 case DeclarationName::CXXOperatorName: in EmitKeyDataLength()
3420 case DeclarationName::CXXConstructorName: in EmitKeyDataLength()
3421 case DeclarationName::CXXDestructorName: in EmitKeyDataLength()
3422 case DeclarationName::CXXConversionFunctionName: in EmitKeyDataLength()
3423 case DeclarationName::CXXUsingDirective: in EmitKeyDataLength()
[all …]
DASTReader.cpp335 typedef llvm::DenseMap<DeclarationName, SmallVector<NamedDecl *, 8> >
861 DeclarationNameKey::DeclarationNameKey(DeclarationName Name) in DeclarationNameKey()
864 case DeclarationName::Identifier: in DeclarationNameKey()
867 case DeclarationName::ObjCZeroArgSelector: in DeclarationNameKey()
868 case DeclarationName::ObjCOneArgSelector: in DeclarationNameKey()
869 case DeclarationName::ObjCMultiArgSelector: in DeclarationNameKey()
872 case DeclarationName::CXXOperatorName: in DeclarationNameKey()
875 case DeclarationName::CXXLiteralOperatorName: in DeclarationNameKey()
878 case DeclarationName::CXXConstructorName: in DeclarationNameKey()
879 case DeclarationName::CXXDestructorName: in DeclarationNameKey()
[all …]
/external/clang/unittests/AST/
DExternalASTSourceTest.cpp71 DeclarationName Name) override { in TEST()

1234