Home
last modified time | relevance | path

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

123456789

/external/llvm-project/clang/lib/AST/
DDeclarationName.cpp46 int DeclarationName::compare(DeclarationName LHS, DeclarationName RHS) { in compare()
51 case DeclarationName::Identifier: { in compare()
62 case DeclarationName::ObjCZeroArgSelector: in compare()
63 case DeclarationName::ObjCOneArgSelector: in compare()
64 case DeclarationName::ObjCMultiArgSelector: { in compare()
68 if (LHS.getNameKind() == DeclarationName::ObjCZeroArgSelector && in compare()
69 RHS.getNameKind() == DeclarationName::ObjCZeroArgSelector) { in compare()
89 case DeclarationName::CXXConstructorName: in compare()
90 case DeclarationName::CXXDestructorName: in compare()
91 case DeclarationName::CXXConversionFunctionName: in compare()
[all …]
DDeclOpenMP.cpp103 Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, in OMPDeclareReductionDecl()
113 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create()
122 OMPDeclareReduction, /*DC=*/nullptr, SourceLocation(), DeclarationName(), in CreateDeserialized()
143 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create()
144 QualType T, DeclarationName VarName, ArrayRef<OMPClause *> Clauses, in Create()
154 C, ID, N, 1, SourceLocation(), DeclarationName(), QualType(), in CreateDeserialized()
155 DeclarationName(), /*PrevDeclInScope=*/nullptr); in CreateDeserialized()
DODRHash.cpp34 void ODRHash::AddDeclarationName(DeclarationName Name, bool TreatAsDecl) { in AddDeclarationName()
46 void ODRHash::AddDeclarationNameImpl(DeclarationName Name) { in AddDeclarationNameImpl()
63 case DeclarationName::Identifier: in AddDeclarationNameImpl()
66 case DeclarationName::ObjCZeroArgSelector: in AddDeclarationNameImpl()
67 case DeclarationName::ObjCOneArgSelector: in AddDeclarationNameImpl()
68 case DeclarationName::ObjCMultiArgSelector: { in AddDeclarationNameImpl()
84 case DeclarationName::CXXConstructorName: in AddDeclarationNameImpl()
85 case DeclarationName::CXXDestructorName: in AddDeclarationNameImpl()
88 case DeclarationName::CXXOperatorName: in AddDeclarationNameImpl()
91 case DeclarationName::CXXLiteralOperatorName: in AddDeclarationNameImpl()
[all …]
/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 …]
/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,
/external/llvm-project/clang/include/clang/AST/
DDeclarationName.h35 class DeclarationName; variable
55 friend class clang::DeclarationName;
78 friend class clang::DeclarationName;
102 friend class clang::DeclarationName;
119 friend class clang::DeclarationName;
145 class DeclarationName {
272 DeclarationName(detail::DeclarationNameExtra *Name) { in DeclarationName() function
277 DeclarationName(detail::CXXSpecialNameExtra *Name, in DeclarationName() function
288 DeclarationName(detail::CXXOperatorIdName *Name) { in DeclarationName() function
348 DeclarationName() { setPtrAndKind(nullptr, StoredIdentifier); } in DeclarationName() function
[all …]
DODRHash.h44 llvm::DenseMap<DeclarationName, unsigned> DeclNameMap;
85 void AddDeclarationName(DeclarationName Name, bool TreatAsDecl = false);
95 void AddDeclarationNameImpl(DeclarationName Name);
DPropertiesBase.td81 def DeclarationName : PropertyType;
82 def DeclarationNameKind : EnumPropertyType<"DeclarationName::NameKind">;
240 // Type cases for DeclarationName.
241 def : PropertyTypeKind<DeclarationName, DeclarationNameKind,
243 let Class = PropertyTypeCase<DeclarationName, "Identifier"> in {
248 return DeclarationName(identifier);
252 let Class = PropertyTypeCase<DeclarationName, "ObjC"#count#"ArgSelector"> in {
257 return DeclarationName(selector);
262 let Class = PropertyTypeCase<DeclarationName, "CXX"#kind#"Name"> in {
272 let Class = PropertyTypeCase<DeclarationName, "CXXDeductionGuideName"> in {
[all …]
DASTImporterLookupTable.h54 using NameMap = llvm::SmallDenseMap<DeclarationName, DeclList, 4>;
67 LookupResult lookup(DeclContext *DC, DeclarationName Name) const;
DDeclOpenMP.h204 DeclarationName Name, QualType Ty,
214 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name,
296 DeclarationName VarName;
302 OMPDeclareMapperDecl(DeclContext *DC, SourceLocation L, DeclarationName Name, in OMPDeclareMapperDecl()
303 QualType Ty, DeclarationName VarName, in OMPDeclareMapperDecl()
316 SourceLocation L, DeclarationName Name,
317 QualType T, DeclarationName VarName,
359 DeclarationName getVarName() { return VarName; } in getVarName()
DASTImporter.h290 FoundDeclsTy findDeclsInToCtx(DeclContext *DC, DeclarationName Name);
470 llvm::Expected<DeclarationName> Import(DeclarationName FromName);
545 virtual Expected<DeclarationName>
546 HandleNameConflict(DeclarationName Name, DeclContext *DC, unsigned IDNS,
DDeclLookups.h43 DeclarationName getLookupName() const { return It->first; } in getLookupName()
55 It->first == DeclarationName::getUsingDirectiveName());
/external/llvm-project/clang/lib/Sema/
DIdentifierResolver.cpp65 IdDeclInfo &operator[](DeclarationName Name);
145 DeclarationName Name = D->getDeclName(); in AddDecl()
170 DeclarationName Name = D->getDeclName(); in InsertDeclAfter()
211 DeclarationName Name = D->getDeclName(); in RemoveDecl()
230 IdentifierResolver::begin(DeclarationName Name) { in begin()
302 bool IdentifierResolver::tryAddTopLevelDecl(NamedDecl *D, DeclarationName Name){ in tryAddTopLevelDecl()
398 IdentifierResolver::IdDeclInfoMap::operator[](DeclarationName Name) { in operator []()
DSemaTemplateVariadic.cpp457 case DeclarationName::Identifier: in DiagnoseUnexpandedParameterPack()
458 case DeclarationName::ObjCZeroArgSelector: in DiagnoseUnexpandedParameterPack()
459 case DeclarationName::ObjCOneArgSelector: in DiagnoseUnexpandedParameterPack()
460 case DeclarationName::ObjCMultiArgSelector: in DiagnoseUnexpandedParameterPack()
461 case DeclarationName::CXXOperatorName: in DiagnoseUnexpandedParameterPack()
462 case DeclarationName::CXXLiteralOperatorName: in DiagnoseUnexpandedParameterPack()
463 case DeclarationName::CXXUsingDirective: in DiagnoseUnexpandedParameterPack()
464 case DeclarationName::CXXDeductionGuideName: in DiagnoseUnexpandedParameterPack()
467 case DeclarationName::CXXConstructorName: in DiagnoseUnexpandedParameterPack()
468 case DeclarationName::CXXDestructorName: in DiagnoseUnexpandedParameterPack()
[all …]
/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()
/external/llvm-project/clang/include/clang/Sema/
DIdentifierResolver.h27 class DeclarationName; variable
138 iterator begin(DeclarationName Name);
177 bool tryAddTopLevelDecl(NamedDecl *D, DeclarationName Name);
DTypoCorrection.h59 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl,
76 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = nullptr,
84 DeclarationName getCorrection() const { return CorrectionName; } in getCorrection()
266 DeclarationName CorrectionName;
/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/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/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DNameSearchContext.h35 const clang::DeclarationName m_decl_name;
66 clang::DeclarationName name, const clang::DeclContext *dc) in NameSearchContext()
/external/llvm-project/clang/include/clang/Serialization/
DASTBitCodes.h2063 DeclarationNameKey(DeclarationName Name);
2070 assert(Kind == DeclarationName::Identifier || in getIdentifier()
2071 Kind == DeclarationName::CXXLiteralOperatorName || in getIdentifier()
2072 Kind == DeclarationName::CXXDeductionGuideName); in getIdentifier()
2077 assert(Kind == DeclarationName::ObjCZeroArgSelector || in getSelector()
2078 Kind == DeclarationName::ObjCOneArgSelector || in getSelector()
2079 Kind == DeclarationName::ObjCMultiArgSelector); in getSelector()
2084 assert(Kind == DeclarationName::CXXOperatorName); in getOperatorKind()

123456789