/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 25 DeclarationMatcher HasEmptyName = recordDecl(hasName("")); in TEST() 55 EXPECT_FALSE(Finder.addDynamicMatcher(hasName("x"), nullptr)); in TEST() 65 DeclarationMatcher NamedX = namedDecl(hasName("X")); in TEST() 117 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X"))); in TEST() 142 recordDecl(hasName("Z"), isDerivedFrom("X")); in TEST() 261 recordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST() 268 recordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST() 284 varDecl(hasName("z_float"), in TEST() 288 varDecl(hasName("z_float"), in TEST() 292 varDecl(hasName("z_char"), in TEST() [all …]
|
/external/clang/unittests/AST/ |
D | DeclPrinterTest.cpp | 107 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX98Matches() 130 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX11Matches() 452 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST() 463 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 472 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 481 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 490 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 499 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 508 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 517 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() [all …]
|
D | ASTContextParentMapTest.cpp | 31 methodDecl(hasParent(recordDecl(hasName("C")))))); in TEST() 45 methodDecl(hasName("f"), in TEST() 50 methodDecl(hasName("f"), in TEST() 55 methodDecl(hasName("f"), in TEST()
|
D | NamedDeclPrinterTest.cpp | 102 namedDecl(hasName(DeclName)).bind("id"), in PrintedNamedDeclCXX98Matches() 114 namedDecl(hasName(DeclName)).bind("id"), in PrintedWrittenNamedDeclCXX11Matches()
|
D | SourceLocationTest.cpp | 437 Code, friendDecl(has(constructorDecl(ofClass(hasName("B"))))))); in TEST() 441 Code, friendDecl(has(destructorDecl(ofClass(hasName("B"))))))); in TEST() 455 Code, friendDecl(has(constructorDecl(ofClass(hasName("B"))))))); in TEST() 459 Code, friendDecl(has(destructorDecl(ofClass(hasName("B"))))))); in TEST()
|
D | StmtPrinterTest.cpp | 118 functionDecl(hasName(ContainingFunction), in PrintedStmtCXX98Matches() 144 functionDecl(hasName(ContainingFunction), in PrintedStmtMSMatches()
|
/external/proguard/src/proguard/obfuscate/ |
D | MemberNameFilter.java | 56 if (hasName(programField)) in visitProgramField() 65 if (hasName(programClass, programMethod)) in visitProgramMethod() 74 if (hasName(libraryField)) in visitLibraryField() 83 if (hasName(libraryClass, libraryMethod)) in visitLibraryMethod() 95 private boolean hasName(Clazz clazz) in hasName() method in MemberNameFilter 104 private boolean hasName(Clazz clazz, Method method) in hasName() method in MemberNameFilter 107 hasName(method) || in hasName() 108 (hasName(clazz) && in hasName() 116 private boolean hasName(Member member) in hasName() method in MemberNameFilter
|
/external/llvm/lib/IR/ |
D | SymbolTableListTraitsImpl.h | 51 if (I->hasName()) in setSymTabObject() 59 if (I->hasName()) in setSymTabObject() 71 if (V->hasName()) in addNodeToList() 80 if (V->hasName()) in removeNodeFromList() 101 bool HasName = V.hasName(); in transferNodesFromList()
|
D | Value.cpp | 171 if (NewName.isTriviallyEmpty() && !hasName()) in setName() 212 if (hasName()) { in setName() 228 if (hasName()) { in takeName() 233 if (V->hasName()) V->setName(""); in takeName() 246 if (!V->hasName()) return; in takeName()
|
D | ValueSymbolTable.cpp | 38 assert(V->hasName() && "Can't insert nameless Value into symbol table"); in reinsertValue()
|
D | Mangler.cpp | 103 if (!GV->hasName()) { in getNameWithPrefix()
|
/external/llvm/tools/llvm-diff/ |
D | DiffConsumer.cpp | 27 if (!AI->hasName()) in ComputeNumbering() 32 if (!FI->hasName()) in ComputeNumbering() 38 if (!BI->hasName() && !BI->getType()->isVoidTy()) in ComputeNumbering() 49 if (V->hasName()) { in printValue() 113 if (L->hasName() && R->hasName() && L->getName() == R->getName()) in header()
|
/external/llvm/lib/Transforms/Utils/ |
D | InstructionNamer.cpp | 37 if (!AI->hasName() && !AI->getType()->isVoidTy()) in runOnFunction() 41 if (!BB->hasName()) in runOnFunction() 45 if (!I->hasName() && !I->getType()->isVoidTy()) in runOnFunction()
|
D | CloneFunction.cpp | 43 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); in CloneBasicBlock() 51 if (II->hasName()) in CloneBasicBlock() 305 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); in CloneBlock() 371 if (II->hasName()) in CloneBlock() 443 if (OldTI->hasName()) in CloneBlock()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 288 MemI->hasName() ? MemI->getName() + ".phi" : "", in runOnLoop() 308 MemI->hasName() ? MemI->getName() + ".inc" : "", InsPoint); in runOnLoop() 321 PtrInc->hasName() ? PtrInc->getName() + ".cast" : "", InsPoint); in runOnLoop() 355 I->second->hasName() ? I->second->getName() + ".off" : "", PtrIP); in runOnLoop() 368 Ptr->hasName() ? Ptr->getName() + ".cast" : ""); in runOnLoop()
|
/external/llvm/unittests/Analysis/ |
D | CFGTest.cpp | 50 if (I->hasName()) { in ParseAssembly() 88 if (!F.hasName() || F.getName() != "test") in ExpectPath()
|
/external/llvm/unittests/IR/ |
D | TypesTest.cpp | 27 EXPECT_FALSE(Struct->hasName()); in TEST()
|
/external/clang/docs/ |
D | LibASTMatchers.rst | 33 insert a `hasName <LibASTMatchersReference.html#hasName0Anchor>`_ matcher: the 34 call ``recordDecl(hasName("Foo"))`` returns a matcher that matches classes or 39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``. 81 are bindable; for example, ``recordDecl(hasName("MyClass")).bind("id")`` will
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ProvenanceAnalysisEvaluator.cpp | 49 if (!V->hasName()) in insertIfNamed()
|
/external/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 207 if (a->hasName() && b->hasName()) { in order_by_name() 209 } else if (a->hasName() && !b->hasName()) { in order_by_name() 211 } else if (!a->hasName() && b->hasName()) { in order_by_name() 871 cache.count(v) ? (cache[v]->hasName() ? cache[v]->getName() : "") in findBasePointer() 874 << " for: " << (v->hasName() ? v->getName() : "") in findBasePointer() 876 << " to: " << (base->hasName() ? base->getName() : "") << "\n"; in findBasePointer() 1093 liveVariables[i]->hasName() ? liveVariables[i]->getName() + ".relocated" in CreateGCRelocates()
|
D | PartiallyInlineLibCalls.cpp | 81 if (CalledFunc->hasLocalLinkage() || !CalledFunc->hasName() || in runOnFunction()
|
/external/clang/unittests/Tooling/ |
D | RefactoringCallbacksTest.cpp | 86 declRefExpr(to(varDecl(hasName("a"))))))))), in TEST()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXUtilities.cpp | 243 assert(val.hasName() && "Found texture variable with no name"); in getTextureName() 248 assert(val.hasName() && "Found surface variable with no name"); in getSurfaceName() 253 assert(val.hasName() && "Found sampler variable with no name"); in getSamplerName()
|
/external/llvm/tools/lli/ |
D | OrcLazyJIT.cpp | 74 if (F.hasName()) { in createDebugDumper()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 288 if (I->hasName() && I->getName()[0] == '\01') in SplitFunctionsOutOfModule() 368 if (!BB->hasName()) BB->setName("tmpbb"); in extractMappedBlocksFromModule()
|