Home
last modified time | relevance | path

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

123

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp25 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/
DDeclPrinterTest.cpp107 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 …]
DASTContextParentMapTest.cpp31 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()
DNamedDeclPrinterTest.cpp102 namedDecl(hasName(DeclName)).bind("id"), in PrintedNamedDeclCXX98Matches()
114 namedDecl(hasName(DeclName)).bind("id"), in PrintedWrittenNamedDeclCXX11Matches()
DSourceLocationTest.cpp437 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()
DStmtPrinterTest.cpp118 functionDecl(hasName(ContainingFunction), in PrintedStmtCXX98Matches()
144 functionDecl(hasName(ContainingFunction), in PrintedStmtMSMatches()
/external/proguard/src/proguard/obfuscate/
DMemberNameFilter.java56 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/
DSymbolTableListTraitsImpl.h51 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()
DValue.cpp171 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()
DValueSymbolTable.cpp38 assert(V->hasName() && "Can't insert nameless Value into symbol table"); in reinsertValue()
DMangler.cpp103 if (!GV->hasName()) { in getNameWithPrefix()
/external/llvm/tools/llvm-diff/
DDiffConsumer.cpp27 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/
DInstructionNamer.cpp37 if (!AI->hasName() && !AI->getType()->isVoidTy()) in runOnFunction()
41 if (!BB->hasName()) in runOnFunction()
45 if (!I->hasName() && !I->getType()->isVoidTy()) in runOnFunction()
DCloneFunction.cpp43 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/
DPPCLoopPreIncPrep.cpp288 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/
DCFGTest.cpp50 if (I->hasName()) { in ParseAssembly()
88 if (!F.hasName() || F.getName() != "test") in ExpectPath()
/external/llvm/unittests/IR/
DTypesTest.cpp27 EXPECT_FALSE(Struct->hasName()); in TEST()
/external/clang/docs/
DLibASTMatchers.rst33 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/
DProvenanceAnalysisEvaluator.cpp49 if (!V->hasName()) in insertIfNamed()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp207 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()
DPartiallyInlineLibCalls.cpp81 if (CalledFunc->hasLocalLinkage() || !CalledFunc->hasName() || in runOnFunction()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp86 declRefExpr(to(varDecl(hasName("a"))))))))), in TEST()
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp243 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/
DOrcLazyJIT.cpp74 if (F.hasName()) { in createDebugDumper()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp288 if (I->hasName() && I->getName()[0] == '\01') in SplitFunctionsOutOfModule()
368 if (!BB->hasName()) BB->setName("tmpbb"); in extractMappedBlocksFromModule()

123