Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/Tooling/Syntax/
DTree.cpp63 return getRole() == NodeRole::Detached; in isDetached()
71 assert(Child->getRole() == NodeRole::Detached); in appendChildLowLevel()
82 assert(Child->getRole() != NodeRole::Detached); in appendChildLowLevel()
95 assert(Child->getRole() == NodeRole::Detached); in prependChildLowLevel()
106 assert(Child->getRole() != NodeRole::Detached); in prependChildLowLevel()
128 assert(N->getRole() != NodeRole::Detached && "Roles must be set"); in replaceChildRangeLowLevel()
207 if (N->getRole() != syntax::NodeRole::Unknown) in dumpNode()
208 OS << " " << N->getRole(); in dumpNode()
295 assert(C.getRole() == NodeRole::ListElement || in assertInvariants()
296 C.getRole() == NodeRole::ListDelimiter); in assertInvariants()
[all …]
DNodes.cpp337 assert(C->getRole() == syntax::NodeRole::Statement); in getStatements()
360 if (C->getRole() == syntax::NodeRole::Declarator) in getDeclarators()
DSynthesis.cpp222 Children.push_back({deepCopyExpandingMacros(A, Child), Child->getRole()}); in deepCopyExpandingMacros()
DBuildTree.cpp556 assert(N->getRole() == NodeRole::Detached); in setRole()
588 assert(It->second->getRole() == NodeRole::Detached && in assignRole()
607 auto Role = KV.second->getRole(); in shrinkToFitList()
641 if (C->getRole() == NodeRole::Detached) in foldChildren()
/external/snakeyaml/src/test/java/examples/collections/
DTypeSafePriorityTest.java50 assertEquals("creator", fred.getRole()); in testLoadList2()
53 assertEquals("committer", john.getRole()); in testLoadList2()
109 public String getRole() { in getRole() method in TypeSafePriorityTest.Developer
DTypeSafeMap2Test.java91 assertEquals("tester", first.getRole()); in testLoadMap()
95 assertEquals("owner", second.getRole()); in testLoadMap()
105 assertEquals("creator", dev1.getRole()); in testLoadMap()
110 assertEquals("committer", dev2.getRole()); in testLoadMap()
172 public String getRole() { in getRole() method in TypeSafeMap2Test.Developer2
DTypeSafeListWithInterfaceTest.java75 assertEquals("creator", fred.getRole()); in testLoadList()
78 assertEquals("committer", john.getRole()); in testLoadList()
144 public String getRole() { in getRole() method in TypeSafeListWithInterfaceTest.Developer
DListFileldBeanTest.java64 assertEquals("creator", fred.getRole()); in testLoadList()
113 public String getRole() { in getRole() method in ListFileldBeanTest.Developer
DTypeSafeListTest.java63 assertEquals("creator", fred.getRole()); in testLoadList()
120 public String getRole() { in getRole() method in TypeSafeListTest.Developer
DTypeSafeMapTest.java84 assertEquals("creator", fred.getRole()); in testLoadMap()
141 public String getRole() { in getRole() method in TypeSafeMapTest.Developer2
DTypeSafeListNoGerericsTest.java122 public String getRole() { in getRole() method in TypeSafeListNoGerericsTest.Developer
DTypeSafeSetImplementationsTest.java165 public String getRole() { in getRole() method in TypeSafeSetImplementationsTest.Developer
/external/llvm-project/clang/unittests/Tooling/Syntax/
DTreeTestBase.h60 if (arg.getRole() == R)
62 *result_listener << "role is " << llvm::to_string(arg.getRole());
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliThrowsList.java53 @Override public Role getRole() { in getRole() method in SmaliThrowsList
DSmaliImplementsList.java78 @Override public Role getRole() { in getRole() method in SmaliImplementsList
DSmaliExtendsList.java93 @Override public Role getRole() { in getRole() method in SmaliExtendsList
/external/clang/include/clang/Lex/
DModuleMap.h133 ModuleHeaderRole getRole() const { return Storage.getInt(); } in getRole() function
142 return !(getRole() & PrivateHeader) || in isAccessibleFrom()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/
DLocationInformationBox.java45 public int getRole() { in getRole() method in LocationInformationBox
/external/llvm-project/clang/include/clang/Lex/
DModuleMap.h173 ModuleHeaderRole getRole() const { return Storage.getInt(); } in getRole() function
182 return !(getRole() & PrivateHeader) || in isAccessibleFrom()
/external/clang/lib/Lex/
DModuleMap.cpp214 if (Header.getRole() & ModuleMap::PrivateHeader) { in violatesPrivateInclude()
315 if ((New.getRole() & ModuleMap::PrivateHeader) != in isBetterKnownHeader()
316 (Old.getRole() & ModuleMap::PrivateHeader)) in isBetterKnownHeader()
317 return !(New.getRole() & ModuleMap::PrivateHeader); in isBetterKnownHeader()
320 if ((New.getRole() & ModuleMap::TextualHeader) != in isBetterKnownHeader()
321 (Old.getRole() & ModuleMap::TextualHeader)) in isBetterKnownHeader()
322 return !(New.getRole() & ModuleMap::TextualHeader); in isBetterKnownHeader()
330 if (R.getRole() & ModuleMap::TextualHeader) in findModuleForHeader()
DPPDirectives.cpp712 if (!(Header.getRole() & ModuleMap::TextualHeader)) { in getModuleHeaderToIncludeForDiagnostics()
/external/llvm-project/clang/lib/Lex/
DModuleMap.cpp449 if (Header.getRole() & ModuleMap::PrivateHeader) { in violatesPrivateInclude()
558 if ((New.getRole() & ModuleMap::PrivateHeader) != in isBetterKnownHeader()
559 (Old.getRole() & ModuleMap::PrivateHeader)) in isBetterKnownHeader()
560 return !(New.getRole() & ModuleMap::PrivateHeader); in isBetterKnownHeader()
563 if ((New.getRole() & ModuleMap::TextualHeader) != in isBetterKnownHeader()
564 (Old.getRole() & ModuleMap::TextualHeader)) in isBetterKnownHeader()
565 return !(New.getRole() & ModuleMap::TextualHeader); in isBetterKnownHeader()
574 if (!AllowTextual && R.getRole() & ModuleMap::TextualHeader) in findModuleForHeader()
713 if (!RequestingModule && I->getRole() == ModuleMap::TextualHeader) in isHeaderUnavailableInModule()
DHeaderSearch.cpp1458 *SuggestedModule = (Module.getRole() & ModuleMap::TextualHeader) in suggestModule()
DPPDirectives.cpp688 if (Header.getRole() & ModuleMap::TextualHeader) in getHeaderToIncludeForDiagnostics()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DTree.h97 NodeRole getRole() const { return static_cast<NodeRole>(Role); } in getRole() function

12