Home
last modified time | relevance | path

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

/external/clang/lib/Tooling/Core/
DLookup.cpp19 static bool isInsideDifferentNamespaceWithSameName(const DeclContext *DeclA, in isInsideDifferentNamespaceWithSameName() argument
23 while (DeclA && !isa<NamespaceDecl>(DeclA)) in isInsideDifferentNamespaceWithSameName()
24 DeclA = DeclA->getParent(); in isInsideDifferentNamespaceWithSameName()
31 if (!DeclA || !DeclB) in isInsideDifferentNamespaceWithSameName()
35 if (DeclA == DeclB) in isInsideDifferentNamespaceWithSameName()
40 if (cast<NamespaceDecl>(DeclA)->getDeclName() == in isInsideDifferentNamespaceWithSameName()
44 DeclA = DeclA->getParent(); in isInsideDifferentNamespaceWithSameName()
49 static StringRef getBestNamespaceSubstr(const DeclContext *DeclA, in getBestNamespaceSubstr() argument
53 while (DeclA && !isa<NamespaceDecl>(DeclA)) in getBestNamespaceSubstr()
54 DeclA = DeclA->getParent(); in getBestNamespaceSubstr()
[all …]