Home
last modified time | relevance | path

Searched refs:getNameAsString (Results 1 – 25 of 45) sorted by relevance

12

/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp888 &Context->Idents.get(D->getNameAsString()), in getIvarAccessString()
910 S += D->getNameAsString(); in getIvarAccessString()
1056 typedefString += ForwardDecl->getNameAsString(); in RewriteOneForwardClassDecl()
1059 typedefString += ForwardDecl->getNameAsString(); in RewriteOneForwardClassDecl()
1062 typedefString += ForwardDecl->getNameAsString(); in RewriteOneForwardClassDecl()
1065 typedefString += ForwardDecl->getNameAsString(); in RewriteOneForwardClassDecl()
1087 typedefString += ForwardDecl->getNameAsString(); in RewriteForwardClassDecl()
1106 typedefString += ForwardDecl->getNameAsString(); in RewriteForwardClassDecl()
1271 NameStr += IDecl->getNameAsString(); in RewriteObjCMethodDecl()
1276 NameStr += CID->getNameAsString(); in RewriteObjCMethodDecl()
[all …]
DRewriteObjC.cpp891 typedefString += ForwardDecl->getNameAsString(); in RewriteOneForwardClassDecl()
894 typedefString += ForwardDecl->getNameAsString(); in RewriteOneForwardClassDecl()
897 typedefString += ForwardDecl->getNameAsString(); in RewriteOneForwardClassDecl()
919 typedefString += ForwardDecl->getNameAsString(); in RewriteForwardClassDecl()
934 typedefString += ForwardDecl->getNameAsString(); in RewriteForwardClassDecl()
1076 NameStr += IDecl->getNameAsString(); in RewriteObjCMethodDecl()
1081 NameStr += CID->getNameAsString(); in RewriteObjCMethodDecl()
1109 ResultStr += IDecl->getNameAsString(); in RewriteObjCMethodDecl()
1125 ResultStr += PDecl->getNameAsString(); in RewriteObjCMethodDecl()
1127 std::string Name = PDecl->getNameAsString(); in RewriteObjCMethodDecl()
[all …]
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestDeclVisitor.cpp20 Match(Variable->getNameAsString(), Variable->getLocStart()); in VisitVarDecl()
40 Match(ParamVar->getNameAsString(), ParamVar->getLocStart()); in VisitParmVarDecl()
DRecursiveASTVisitorTest.cpp106 Match(ME->getMemberDecl()->getNameAsString(), ME->getLocStart()); in VisitMemberExpr()
DToolingTest.cpp228 return F && F->getNameAsString() == "skipMe"; in shouldSkipFunctionBody()
/external/lldb/source/Expression/
DClangASTSource.cpp222 i->second.GetNamespaceDecl()->getNameAsString().c_str(), in CompleteType()
342 ConstString class_name(interface_decl->getNameAsString().c_str()); in GetCompleteObjCInterface()
389 context_named_decl->getNameAsString().c_str(), in FindExternalLexicalDecls()
457 …rrent_id, context_named_decl->getDeclKindName(), context_named_decl->getNameAsString().c_str(), de… in FindExternalLexicalDecls()
512 …%s'", current_id, m_ast_context, name.GetCString(), context_named_decl->getNameAsString().c_str()); in FindExternalVisibleDecls()
539 i->second.GetNamespaceDecl()->getNameAsString().c_str(), in FindExternalVisibleDecls()
976 interface_decl->getNameAsString().c_str(), in FindObjCMethodDecls()
984 std::string interface_name = interface_decl->getNameAsString(); in FindObjCMethodDecls()
1162 ConstString interface_name(interface_decl->getNameAsString().c_str()); in FindObjCMethodDecls()
1260 ConstString class_name(parser_iface_decl->getNameAsString().c_str()); in FindObjCPropertyAndIvarDecls()
[all …]
DASTStructExtractor.cpp142 !m_function.m_wrapper_function_name.compare(function_decl->getNameAsString().c_str())) in ExtractFromTopLevelDecl()
DClangExpressionDeclMap.cpp816 …] for '%s' in '%s'", current_id, name.GetCString(), context_named_decl->getNameAsString().c_str()); in FindExternalVisibleDecls()
841 i->second.GetNamespaceDecl()->getNameAsString().c_str(), in FindExternalVisibleDecls()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp241 NameAndAttributes += PD->getNameAsString(); in MakePropertyEncodingString()
246 return MakeConstantString(PD->getNameAsString()); in MakePropertyEncodingString()
1042 return GetClassNamed(CGF, OID->getNameAsString(), OID->isWeakImported()); in GetClass()
1259 MakeConstantString(Class->getNameAsString())); in GenerateMessageSendSuper()
1270 ".objc_metaclass_ref" + Class->getNameAsString(), &TheModule); in GenerateMessageSendSuper()
1277 ".objc_class_ref" + Class->getNameAsString(), &TheModule); in GenerateMessageSendSuper()
1308 llvm::MDString::get(VMContext, Class->getSuperClass()->getNameAsString()), in GenerateMessageSendSuper()
1383 llvm::MDString::get(VMContext, Class ? Class->getNameAsString() : ""), in GenerateMessageSend()
1722 llvm::Value *protocol = ExistingProtocols[PD->getNameAsString()]; in GenerateProtocolRef()
1762 std::string ProtocolName = PD->getNameAsString(); in GenerateProtocol()
[all …]
DCGBlocks.cpp1031 variable->getNameAsString()); in GetAddrOfBlockDecl()
2018 Loc = Builder.CreateStructGEP(P.first, Loc, P.second, V->getNameAsString()); in BuildBlockByrefAddress()
2048 "struct.__block_byref_" + D->getNameAsString()); in BuildByRefType()
/external/clang/lib/Sema/
DSemaCUDA.cpp109 << Callee->getNameAsString() << Caller->getNameAsString(); in CheckCUDATarget()
DAnalysisBasedWarnings.cpp1454 << CurrentFunction->getNameAsString()); in getNotes()
1465 << CurrentFunction->getNameAsString()); in getNotes()
1479 << CurrentFunction->getNameAsString()); in getNotes()
1595 << D->getNameAsString() << getLockKindFromAccessKind(AK)); in handleNoMutexHeld()
1623 << D->getNameAsString() in handleMutexNotHeld()
1630 << D->getNameAsString()); in handleMutexNotHeld()
1653 << D->getNameAsString() in handleMutexNotHeld()
1658 << D->getNameAsString()); in handleMutexNotHeld()
DSemaCodeComplete.cpp2004 SuperType = ID->getSuperClass()->getNameAsString(); in AddOrdinaryNameResults()
2481 Result.getAllocator().CopyString(ND->getNameAsString())); in AddTypedNameChunk()
2500 Result.getAllocator().CopyString(ND->getNameAsString())); in AddTypedNameChunk()
2505 Result.getAllocator().CopyString(Record->getNameAsString())); in AddTypedNameChunk()
2642 Result.getAllocator().CopyString(ND->getNameAsString())); in CreateCodeCompletionString()
2721 Result.getAllocator().CopyString(Template->getNameAsString())); in CreateCodeCompletionString()
2814 Result.getAllocator().CopyString(ND->getNameAsString())); in CreateCodeCompletionString()
2916 Result.getAllocator().CopyString(FDecl->getNameAsString())); in CreateSignatureString()
3184 Overridden->getNameAsString())); in MaybeAddOverrideCalls()
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp30 llvm::errs() << "top-level-decl: \"" << ND->getNameAsString() << "\"\n"; in HandleTopLevelDecl()
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp47 VarInfo[VD->getNameAsString()] = WasEvaluated; in VisitVarDecl()
/external/clang/lib/Analysis/
DConsumed.cpp590 FunDecl->getNameAsString(), PInfo.getVar()->getNameAsString(), in checkCallability()
600 FunDecl->getNameAsString(), stateToString(TmpState), BlameLoc); in checkCallability()
749 if (Call->getNumArgs() == 1 && FunDecl->getNameAsString() == "move" && in VisitCallExpr()
1140 Param->getNameAsString(), stateToString(ExpectedState), in checkParamsForReturnTypestate()
1204 DM.first->getNameAsString()); in intersectAtLoopHead()
DCallGraph.cpp222 return ND->getNameAsString(); in getNodeLabel()
/external/v8/tools/gcmole/
Dgcmole.cc78 if (enum_constant != NULL && enum_constant->getNameAsString() == EXTERNAL) { in IsExternalVMState()
653 llvm::cast<clang::DeclRefExpr>(expr)->getDecl()->getNameAsString(); in IsRawPointerVar()
802 return Use(parent, var->getType(), var->getNameAsString(), env); in Use()
1108 out = out.Define(var->getNameAsString()); in VisitDecl()
1136 env->MDefine((*p)->getNameAsString()); in DefineParameters()
/external/clang/lib/Frontend/
DFrontendAction.cpp113 if (NamesToCheck.find(ND->getNameAsString()) != NamesToCheck.end()) { in DeclRead()
118 << ND->getNameAsString(); in DeclRead()
/external/clang/lib/AST/
DDeclPrinter.cpp455 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl()
969 std::string I = OID->getNameAsString(); in VisitObjCImplementationDecl()
1000 std::string I = OID->getNameAsString(); in VisitObjCInterfaceDecl()
DASTDumper.cpp713 OS << ' ' << ND->getNameAsString(); in dumpName()
1360 OS << D->getNameAsString(); in VisitUsingDecl()
1367 OS << D->getNameAsString(); in VisitUnresolvedUsingTypenameDecl()
1373 OS << D->getNameAsString(); in VisitUnresolvedUsingValueDecl()
DASTDiagnostic.cpp1430 OS << FromTD->getNameAsString() << "<>"; in TreeToString()
1438 OS << FromTD->getNameAsString() << '<'; in TreeToString()
1596 OS << "template " << FromTD->getNameAsString(); in PrintTemplateTemplate()
/external/lldb/source/Symbol/
DClangASTType.cpp1025 class_name = interface->getNameAsString(); in GetObjCClassName()
2611 name.assign(ivar_decl->getNameAsString()); in GetObjCFieldAtIndex()
2673 name.assign(field->getNameAsString()); in GetFieldAtIndex()
3003 child_name.assign(field->getNameAsString().c_str()); in GetChildClangTypeAtIndex()
3051 … child_name.assign(superclass_interface_decl->getNameAsString().c_str()); in GetChildClangTypeAtIndex()
3083 child_name.assign(ivar_decl->getNameAsString().c_str()); in GetChildClangTypeAtIndex()
3104 …ffset = objc_runtime->GetByteOffsetForIvar (parent_ast_type, ivar_decl->getNameAsString().c_str()); in GetChildClangTypeAtIndex()
5628 s->Printf("%s = ", field->getNameAsString().c_str()); in DumpValue()
5666 s->Printf("%s", enum_pos->getNameAsString().c_str()); in DumpValue()
5898 s->PutCString (enum_pos->getNameAsString().c_str()); in DumpTypeValue()
[all …]
DClangASTImporter.cpp97 named_decl->getNameAsString().c_str(), in CopyDecl()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp479 std::string PropertyNameString = Getter->getNameAsString(); in rewriteToObjCProperty()
684 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
693 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()

12