Home
last modified time | relevance | path

Searched refs:IDNS (Results 1 – 13 of 13) sorted by relevance

/external/clang/include/clang/Sema/
DLookup.h138 IDNS(0), in ResultKind()
160 IDNS(0), in ResultKind()
180 IDNS(Other.IDNS), in LookupResult()
201 LookupKind(std::move(Other.LookupKind)), IDNS(std::move(Other.IDNS)), in LookupResult()
220 IDNS = std::move(Other.IDNS);
346 if (!D->isInIdentifierNamespace(IDNS)) in getAcceptableDecl()
362 return IDNS; in getIdentifierNamespace()
671 IDNS |= Decl::IDNS_LocalExtern; in setFindLocalExtern()
673 IDNS &= ~Decl::IDNS_LocalExtern; in setFindLocalExtern()
717 unsigned IDNS; // set by configure() variable
/external/llvm-project/clang/include/clang/Sema/
DLookup.h173 LookupKind(Other.LookupKind), IDNS(Other.IDNS), Redecl(Other.Redecl), in LookupResult()
191 LookupKind(std::move(Other.LookupKind)), IDNS(std::move(Other.IDNS)), in LookupResult()
214 IDNS = std::move(Other.IDNS);
362 if (!D->isInIdentifierNamespace(IDNS)) in getAcceptableDecl()
378 return IDNS; in getIdentifierNamespace()
688 IDNS |= Decl::IDNS_LocalExtern; in setFindLocalExtern()
690 IDNS &= ~Decl::IDNS_LocalExtern; in setFindLocalExtern()
736 unsigned IDNS = 0; // set by configure() variable
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp212 unsigned IDNS = 0; in getIDNS() local
219 IDNS = Decl::IDNS_Ordinary; in getIDNS()
221 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Member | Decl::IDNS_Namespace; in getIDNS()
223 IDNS |= Decl::IDNS_TagFriend | Decl::IDNS_OrdinaryFriend; in getIDNS()
226 IDNS |= Decl::IDNS_LocalExtern; in getIDNS()
233 IDNS = Decl::IDNS_NonMemberOperator; in getIDNS()
238 IDNS = Decl::IDNS_Type; in getIDNS()
246 IDNS |= Decl::IDNS_Tag | Decl::IDNS_TagFriend | Decl::IDNS_Namespace; in getIDNS()
248 IDNS = Decl::IDNS_Tag; in getIDNS()
253 IDNS = Decl::IDNS_Label; in getIDNS()
[all …]
DSemaCodeComplete.cpp1076 unsigned IDNS = CanonDecl->getIdentifierNamespace(); in MaybeAddResult() local
1121 (IDNS & (Decl::IDNS_Member | Decl::IDNS_Ordinary | in MaybeAddResult()
1127 (IDNS & Decl::IDNS_ObjCProtocol)) && in MaybeAddResult()
1128 I->first->getIdentifierNamespace() != IDNS) in MaybeAddResult()
1374 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryName() local
1376 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Namespace | Decl::IDNS_Member; in IsOrdinaryName()
1382 return ND->getIdentifierNamespace() & IDNS; in IsOrdinaryName()
1399 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryNonTypeName() local
1401 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Namespace | Decl::IDNS_Member; in IsOrdinaryNonTypeName()
1407 return ND->getIdentifierNamespace() & IDNS; in IsOrdinaryNonTypeName()
[all …]
/external/clang/lib/Sema/
DSemaLookup.cpp214 unsigned IDNS = 0; in getIDNS() local
220 IDNS = Decl::IDNS_Ordinary; in getIDNS()
222 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Member | Decl::IDNS_Namespace; in getIDNS()
224 IDNS |= Decl::IDNS_TagFriend | Decl::IDNS_OrdinaryFriend; in getIDNS()
227 IDNS |= Decl::IDNS_LocalExtern; in getIDNS()
234 IDNS = Decl::IDNS_NonMemberOperator; in getIDNS()
239 IDNS = Decl::IDNS_Type; in getIDNS()
247 IDNS |= Decl::IDNS_Tag | Decl::IDNS_TagFriend | Decl::IDNS_Namespace; in getIDNS()
249 IDNS = Decl::IDNS_Tag; in getIDNS()
254 IDNS = Decl::IDNS_Label; in getIDNS()
[all …]
DSemaCodeComplete.cpp849 unsigned IDNS = CanonDecl->getIdentifierNamespace(); in MaybeAddResult() local
894 (IDNS & (Decl::IDNS_Member | Decl::IDNS_Ordinary | in MaybeAddResult()
900 || (IDNS & Decl::IDNS_ObjCProtocol)) && in MaybeAddResult()
901 I->first->getIdentifierNamespace() != IDNS) in MaybeAddResult()
1058 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryName() local
1060 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Namespace | Decl::IDNS_Member; in IsOrdinaryName()
1066 return ND->getIdentifierNamespace() & IDNS; in IsOrdinaryName()
1076 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryNonTypeName() local
1078 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Namespace | Decl::IDNS_Member; in IsOrdinaryNonTypeName()
1084 return ND->getIdentifierNamespace() & IDNS; in IsOrdinaryNonTypeName()
[all …]
/external/clang/include/clang/AST/
DASTImporter.h251 unsigned IDNS,
/external/clang/lib/AST/
DCXXInheritance.cpp397 const unsigned IDNS = IDNS_Ordinary | IDNS_Tag | IDNS_Member; in FindOrdinaryMember() local
401 if (Path.Decls.front()->isInIdentifierNamespace(IDNS)) in FindOrdinaryMember()
DASTImporter.cpp2544 unsigned IDNS = Decl::IDNS_Ordinary; in VisitTypedefNameDecl() local
2548 if (!FoundDecls[I]->isInIdentifierNamespace(IDNS)) in VisitTypedefNameDecl()
2561 Name = Importer.HandleNameConflict(Name, DC, IDNS, in VisitTypedefNameDecl()
2650 unsigned IDNS = Decl::IDNS_Tag; in VisitEnumDecl() local
2654 IDNS = Decl::IDNS_Ordinary; in VisitEnumDecl()
2656 IDNS |= Decl::IDNS_Ordinary; in VisitEnumDecl()
2664 if (!FoundDecls[I]->isInIdentifierNamespace(IDNS)) in VisitEnumDecl()
2682 Name = Importer.HandleNameConflict(Name, DC, IDNS, in VisitEnumDecl()
2738 unsigned IDNS = Decl::IDNS_Tag; in VisitRecordDecl() local
2742 IDNS = Decl::IDNS_Ordinary; in VisitRecordDecl()
[all …]
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp2435 unsigned IDNS = Decl::IDNS_Ordinary; in VisitTypedefNameDecl() local
2438 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitTypedefNameDecl()
2461 Name, DC, IDNS, ConflictingDecls.data(), ConflictingDecls.size()); in VisitTypedefNameDecl()
2526 unsigned IDNS = Decl::IDNS_Ordinary; in VisitTypeAliasTemplateDecl() local
2529 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitTypeAliasTemplateDecl()
2538 Name, DC, IDNS, ConflictingDecls.data(), ConflictingDecls.size()); in VisitTypeAliasTemplateDecl()
2616 unsigned IDNS = Decl::IDNS_Tag; in VisitEnumDecl() local
2622 IDNS = Decl::IDNS_Ordinary; in VisitEnumDecl()
2624 IDNS |= Decl::IDNS_Ordinary; in VisitEnumDecl()
2633 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitEnumDecl()
[all …]
/external/llvm-project/clang/include/clang/AST/
DASTImporter.h546 HandleNameConflict(DeclarationName Name, DeclContext *DC, unsigned IDNS,
/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp2021 unsigned IDNS in CalculateHiddenNames() local
2026 Hiding = (IDNS & Decl::IDNS_Tag); in CalculateHiddenNames()
2033 Hiding = (IDNS & HiddenIDNS); in CalculateHiddenNames()
/external/clang/lib/Frontend/
DASTUnit.cpp2201 unsigned IDNS in CalculateHiddenNames() local
2206 Hiding = (IDNS & Decl::IDNS_Tag); in CalculateHiddenNames()
2213 Hiding = (IDNS & HiddenIDNS); in CalculateHiddenNames()