Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDeclBase.h136 IDNS_Ordinary = 0x0020, enumerator
926 assert((IdentifierNamespace == IDNS_Ordinary || in setLocalExternDecl()
931 IdentifierNamespace &= ~IDNS_Ordinary; in setLocalExternDecl()
934 if (Prev && Prev->getIdentifierNamespace() & IDNS_Ordinary) in setLocalExternDecl()
935 IdentifierNamespace |= IDNS_Ordinary; in setLocalExternDecl()
954 assert((OldNS & (IDNS_Tag | IDNS_Ordinary |
958 assert(!(OldNS & ~(IDNS_Tag | IDNS_Ordinary | IDNS_Type |
964 IdentifierNamespace &= ~(IDNS_Ordinary | IDNS_Tag | IDNS_Type);
973 if (OldNS & (IDNS_Ordinary | IDNS_OrdinaryFriend | IDNS_LocalExtern)) {
976 (Prev && Prev->getIdentifierNamespace() & IDNS_Ordinary))
[all …]
DDecl.h3837 (Decl::IDNS_Ordinary | Decl::IDNS_Tag | Decl::IDNS_Type); in setPreviousDecl()
/external/llvm-project/clang/include/clang/AST/
DDeclBase.h147 IDNS_Ordinary = 0x0020, enumerator
1076 IdentifierNamespace &= ~IDNS_Ordinary; in setLocalExternDecl()
1085 if (Prev && Prev->getIdentifierNamespace() & IDNS_Ordinary) in setLocalExternDecl()
1086 IdentifierNamespace |= IDNS_Ordinary; in setLocalExternDecl()
1105 assert((OldNS & (IDNS_Tag | IDNS_Ordinary |
1109 assert(!(OldNS & ~(IDNS_Tag | IDNS_Ordinary | IDNS_Type |
1115 IdentifierNamespace &= ~(IDNS_Ordinary | IDNS_Tag | IDNS_Type);
1124 if (OldNS & (IDNS_Ordinary | IDNS_OrdinaryFriend |
1128 (Prev && Prev->getIdentifierNamespace() & IDNS_Ordinary))
1129 IdentifierNamespace |= IDNS_Ordinary;
[all …]
DDecl.h4558 (Decl::IDNS_Ordinary | Decl::IDNS_Tag | Decl::IDNS_Type); in setPreviousDecl()
/external/llvm-project/clang/lib/AST/
DDeclBase.cpp753 return IDNS_Ordinary; in getIdentifierNamespaceForKind()
757 return IDNS_Ordinary | IDNS_Member; in getIdentifierNamespaceForKind()
765 return IDNS_Ordinary | IDNS_Tag; in getIdentifierNamespaceForKind()
769 return IDNS_Ordinary | IDNS_Type; in getIdentifierNamespaceForKind()
775 return IDNS_Ordinary | IDNS_Type; in getIdentifierNamespaceForKind()
778 return IDNS_Ordinary | IDNS_Type | IDNS_Using; in getIdentifierNamespaceForKind()
784 return IDNS_Ordinary | IDNS_Using; in getIdentifierNamespaceForKind()
808 return IDNS_Ordinary; in getIdentifierNamespaceForKind()
813 return IDNS_Ordinary | IDNS_Tag | IDNS_Type; in getIdentifierNamespaceForKind()
DCXXInheritance.cpp383 return ND->isInIdentifierNamespace(Decl::IDNS_Ordinary | Decl::IDNS_Tag | in isOrdinaryMember()
DASTImporter.cpp2435 unsigned IDNS = Decl::IDNS_Ordinary; in VisitTypedefNameDecl()
2526 unsigned IDNS = Decl::IDNS_Ordinary; in VisitTypeAliasTemplateDecl()
2622 IDNS = Decl::IDNS_Ordinary; in VisitEnumDecl()
2624 IDNS |= Decl::IDNS_Ordinary; in VisitEnumDecl()
2723 IDNS = Decl::IDNS_Ordinary; in VisitRecordDecl()
2725 IDNS |= Decl::IDNS_Ordinary | Decl::IDNS_TagFriend; in VisitRecordDecl()
2949 unsigned IDNS = Decl::IDNS_Ordinary; in VisitEnumConstantDecl()
3213 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_OrdinaryFriend; in VisitFunctionDecl()
3900 unsigned IDNS = Decl::IDNS_Ordinary; in VisitVarDecl()
4860 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in VisitObjCInterfaceDecl()
[all …]
/external/clang/lib/AST/
DDeclBase.cpp607 return IDNS_Ordinary; in getIdentifierNamespaceForKind()
611 return IDNS_Ordinary | IDNS_Member; in getIdentifierNamespaceForKind()
617 return IDNS_Ordinary | IDNS_Tag; in getIdentifierNamespaceForKind()
621 return IDNS_Ordinary | IDNS_Type; in getIdentifierNamespaceForKind()
629 return IDNS_Ordinary | IDNS_Type; in getIdentifierNamespaceForKind()
635 return IDNS_Ordinary | IDNS_Using; in getIdentifierNamespaceForKind()
659 return IDNS_Ordinary; in getIdentifierNamespaceForKind()
663 return IDNS_Ordinary | IDNS_Tag | IDNS_Type; in getIdentifierNamespaceForKind()
DASTImporter.cpp2544 unsigned IDNS = Decl::IDNS_Ordinary; in VisitTypedefNameDecl()
2654 IDNS = Decl::IDNS_Ordinary; in VisitEnumDecl()
2656 IDNS |= Decl::IDNS_Ordinary; in VisitEnumDecl()
2742 IDNS = Decl::IDNS_Ordinary; in VisitRecordDecl()
2744 IDNS |= Decl::IDNS_Ordinary; in VisitRecordDecl()
2898 unsigned IDNS = Decl::IDNS_Ordinary; in VisitEnumConstantDecl()
2953 unsigned IDNS = Decl::IDNS_Ordinary; in VisitFunctionDecl()
3375 unsigned IDNS = Decl::IDNS_Ordinary; in VisitVarDecl()
4034 if (!FoundDecls[I]->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in VisitObjCInterfaceDecl()
4434 if (!FoundDecls[I]->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in VisitClassTemplateDecl()
[all …]
DCXXInheritance.cpp397 const unsigned IDNS = IDNS_Ordinary | IDNS_Tag | IDNS_Member; in FindOrdinaryMember()
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp2489 ASSERT_FALSE(FromD->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2512 EXPECT_FALSE(To0->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2533 ASSERT_FALSE(FromFriend->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2535 ASSERT_TRUE(FromNormal->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2560 EXPECT_FALSE(ToFriend->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2562 EXPECT_TRUE(ToNormal->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2577 ASSERT_TRUE(FromNormal->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2579 ASSERT_TRUE(FromFriend->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2603 EXPECT_TRUE(ToNormal->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2605 EXPECT_TRUE(ToFriend->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
[all …]
/external/clang/lib/Sema/
DSemaLookup.cpp220 IDNS = Decl::IDNS_Ordinary; in getIDNS()
260 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Ordinary; in getIDNS()
273 IDNS = Decl::IDNS_Ordinary | Decl::IDNS_Tag | Decl::IDNS_Member | in getIDNS()
287 IDNS = Decl::IDNS_Ordinary | Decl::IDNS_Tag | Decl::IDNS_Member in getIDNS()
1022 R.setFindLocalExtern(R.getIdentifierNamespace() & Decl::IDNS_Ordinary); in FindLocalExternScope()
3290 if ((D->getIdentifierNamespace() & Decl::IDNS_Ordinary) == 0) { in ArgumentDependentLookup()
3408 (IDNS & (Decl::IDNS_Member | Decl::IDNS_Ordinary | in checkHidden()
DSemaCodeComplete.cpp894 (IDNS & (Decl::IDNS_Member | Decl::IDNS_Ordinary | in MaybeAddResult()
1058 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryName()
1076 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryNonTypeName()
1103 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryNonValueName()
DSemaTemplateInstantiateDecl.cpp1749 PrincipalDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in VisitFunctionDecl()
DSemaDeclCXX.cpp8278 !(D->getIdentifierNamespace() & Decl::IDNS_Ordinary)) in BuildUsingDeclaration()
DSemaDecl.cpp8386 PrincipalDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in ActOnFunctionDeclarator()
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp219 IDNS = Decl::IDNS_Ordinary; in getIDNS()
259 IDNS |= Decl::IDNS_Tag | Decl::IDNS_Ordinary; in getIDNS()
272 IDNS = Decl::IDNS_Ordinary | Decl::IDNS_Tag | Decl::IDNS_Member | in getIDNS()
290 IDNS = Decl::IDNS_Ordinary | Decl::IDNS_Tag | Decl::IDNS_Member in getIDNS()
1191 (Decl::IDNS_Ordinary | Decl::IDNS_NonMemberOperator)); in FindLocalExternScope()
3559 if (D->getIdentifierNamespace() & Decl::IDNS_Ordinary) { in ArgumentDependentLookup()
3665 (IDNS & (Decl::IDNS_Member | Decl::IDNS_Ordinary | in checkHidden()
DSemaCodeComplete.cpp1121 (IDNS & (Decl::IDNS_Member | Decl::IDNS_Ordinary | in MaybeAddResult()
1374 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryName()
1399 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryNonTypeName()
1426 unsigned IDNS = Decl::IDNS_Ordinary | Decl::IDNS_LocalExtern; in IsOrdinaryNonValueName()
DSemaTemplateInstantiateDecl.cpp2196 PrincipalDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in VisitFunctionDecl()
DSemaDeclCXX.cpp11979 !(D->getIdentifierNamespace() & Decl::IDNS_Ordinary)) in BuildUsingDeclaration()
DSemaDecl.cpp9597 PrincipalDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in ActOnFunctionDeclarator()
/external/clang/lib/Frontend/
DASTUnit.cpp2209 Decl::IDNS_Namespace | Decl::IDNS_Ordinary | in CalculateHiddenNames()
/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp2029 Decl::IDNS_Namespace | Decl::IDNS_Ordinary | in CalculateHiddenNames()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp3153 (Decl::IDNS_Ordinary | Decl::IDNS_Tag | Decl::IDNS_Type); in attachPreviousDecl()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp3700 (Decl::IDNS_Ordinary | Decl::IDNS_Tag | Decl::IDNS_Type); in attachPreviousDecl()