Home
last modified time | relevance | path

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

1234

/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 cxxRecordDecl(hasName("Z"), isDerivedFrom("X")); in TEST()
261 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST()
268 cxxRecordDecl(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()
463 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST()
474 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
483 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
492 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
501 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
510 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
519 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
528 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
[all …]
DASTContextParentMapTest.cpp32 cxxMethodDecl(hasParent(recordDecl(hasName("C")))))); in TEST()
59 cxxMethodDecl(hasName("f"), in TEST()
64 cxxMethodDecl(hasName("f"), in TEST()
70 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(cxxConstructorDecl(ofClass(hasName("B"))))))); in TEST()
441 Code, friendDecl(has(cxxDestructorDecl(ofClass(hasName("B"))))))); in TEST()
455 Code, friendDecl(has(cxxConstructorDecl(ofClass(hasName("B"))))))); in TEST()
459 Code, friendDecl(has(cxxDestructorDecl(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.h50 if (I->hasName()) in setSymTabObject()
57 if (I->hasName()) in setSymTabObject()
68 if (V->hasName()) in addNodeToList()
77 if (V->hasName()) in removeNodeFromList()
97 bool HasName = V.hasName(); in transferNodesFromList()
DValue.cpp192 if (!hasName()) in getName()
199 if (NewName.isTriviallyEmpty() && !hasName()) in setNameImpl()
237 if (hasName()) { in setNameImpl()
259 if (hasName()) { in takeName()
264 if (V->hasName()) V->setName(""); in takeName()
277 if (!V->hasName()) return; in takeName()
DValueSymbolTable.cpp56 assert(V->hasName() && "Can't insert nameless Value into symbol table"); in reinsertValue()
/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.cpp44 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); in CloneBasicBlock()
52 if (II->hasName()) in CloneBasicBlock()
312 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); in CloneBlock()
378 if (II->hasName()) in CloneBlock()
456 if (OldTI->hasName()) in CloneBlock()
DSplitModule.cpp37 if (!GV->hasName()) in externalize()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp333 MemI->hasName() ? MemI->getName() + ".phi" : "", in runOnLoop()
353 MemI->hasName() ? MemI->getName() + ".inc" : "", InsPoint); in runOnLoop()
366 PtrInc->hasName() ? PtrInc->getName() + ".cast" : "", InsPoint); in runOnLoop()
402 I->Instr->hasName() ? I->Instr->getName() + ".off" : "", PtrIP); in runOnLoop()
415 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()
DValueTrackingTest.cpp44 if (I->hasName()) { in parseAssembly()
/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/unittests/IR/
DTypesTest.cpp27 EXPECT_FALSE(Struct->hasName()); 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/lib/Transforms/ObjCARC/
DProvenanceAnalysisEvaluator.cpp49 if (!V->hasName()) in insertIfNamed()
/external/llvm/lib/CodeGen/
DMIRPrinter.cpp305 Alloca->hasName() ? Alloca->getName() : "<unnamed alloca>"; in convertStackObjects()
425 if (BB->hasName()) { in print()
584 if (BB->hasName()) in printMBBReference()
598 if (BB.hasName()) { in printIRBlockReference()
628 if (V.hasName()) { in printIRValueReference()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp86 declRefExpr(to(varDecl(hasName("a"))))))))), in TEST()
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp81 if (CalledFunc->hasLocalLinkage() || !CalledFunc->hasName() || in runOnFunction()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp88 if (F.hasName()) { in createDebugDumper()

1234