Home
last modified time | relevance | path

Searched refs:getNameAsString (Results 1 – 25 of 37) 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/examples/PrintFunctionNames/
DPrintFunctionNames.cpp39 llvm::errs() << "top-level-decl: \"" << ND->getNameAsString() << "\"\n"; in HandleTopLevelDecl()
62 ParsedTemplates.count(FD->getNameAsString())) in HandleTranslationUnit()
74 llvm::errs() << "late-parsed-decl: \"" << FD->getNameAsString() << "\"\n"; in HandleTranslationUnit()
/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.cpp245 return F && F->getNameAsString() == "skipMe"; in shouldSkipFunctionBody()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp243 NameAndAttributes += PD->getNameAsString(); in MakePropertyEncodingString()
246 return MakeConstantString(PD->getNameAsString()); in MakePropertyEncodingString()
1047 return GetClassNamed(CGF, OID->getNameAsString(), OID->isWeakImported()); in GetClass()
1271 MakeConstantString(Class->getNameAsString())); in GenerateMessageSendSuper()
1282 ".objc_metaclass_ref" + Class->getNameAsString(), &TheModule); in GenerateMessageSendSuper()
1289 ".objc_class_ref" + Class->getNameAsString(), &TheModule); in GenerateMessageSendSuper()
1324 llvm::MDString::get(VMContext, Class->getSuperClass()->getNameAsString()), in GenerateMessageSendSuper()
1399 llvm::MDString::get(VMContext, Class ? Class->getNameAsString() : ""), in GenerateMessageSend()
1741 llvm::Value *protocol = ExistingProtocols[PD->getNameAsString()]; in GenerateProtocolRef()
1782 std::string ProtocolName = PD->getNameAsString(); in GenerateProtocol()
[all …]
DCGObjCMac.cpp3204 std::string ClassName = ID->getNameAsString(); in GenerateClass()
3334 EmitMethodList("OBJC_CLASS_METHODS_" + ID->getNameAsString(), in EmitMetaClass()
3368 std::string Name = "OBJC_METACLASS_" + ID->getNameAsString(); in EmitMetaClassRef()
3390 std::string Name = "OBJC_CLASS_" + ID->getNameAsString(); in EmitSuperClassRef()
6109 ExtCatName += OCD->getNameAsString(); in GenerateCategory()
6141 MethodListName += OCD->getNameAsString(); in GenerateCategory()
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp47 VarInfo[VD->getNameAsString()] = WasEvaluated; in VisitVarDecl()
/external/clang/lib/Sema/
DSemaCUDA.cpp202 << Callee->getNameAsString() << Caller->getNameAsString(); in CheckCUDATarget()
DAnalysisBasedWarnings.cpp1458 << CurrentFunction->getNameAsString()); in getNotes()
1469 << CurrentFunction->getNameAsString()); in getNotes()
1483 << CurrentFunction->getNameAsString()); in getNotes()
1599 << D->getNameAsString() << getLockKindFromAccessKind(AK)); in handleNoMutexHeld()
1627 << D->getNameAsString() in handleMutexNotHeld()
1634 << D->getNameAsString()); in handleMutexNotHeld()
1657 << D->getNameAsString() in handleMutexNotHeld()
1662 << D->getNameAsString()); in handleMutexNotHeld()
DSemaCodeComplete.cpp2007 SuperType = ID->getSuperClass()->getNameAsString(); in AddOrdinaryNameResults()
2531 Result.getAllocator().CopyString(ND->getNameAsString())); in AddTypedNameChunk()
2550 Result.getAllocator().CopyString(ND->getNameAsString())); in AddTypedNameChunk()
2555 Result.getAllocator().CopyString(Record->getNameAsString())); in AddTypedNameChunk()
2690 Result.getAllocator().CopyString(ND->getNameAsString())); in CreateCodeCompletionString()
2769 Result.getAllocator().CopyString(Template->getNameAsString())); in CreateCodeCompletionString()
2871 Result.getAllocator().CopyString(ND->getNameAsString())); in CreateCodeCompletionString()
2972 Result.getAllocator().CopyString(FDecl->getNameAsString())); in CreateSignatureString()
3244 Overridden->getNameAsString())); in MaybeAddOverrideCalls()
/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()
1129 Param->getNameAsString(), stateToString(ExpectedState), in checkParamsForReturnTypestate()
1193 DM.first->getNameAsString()); in intersectAtLoopHead()
DCallGraph.cpp222 return ND->getNameAsString(); in getNodeLabel()
DThreadSafety.cpp1520 DiagKind, D->getNameAsString(), (!Cp).toString(), Loc); in warnIfMutexNotHeld()
1577 DiagKind, D->getNameAsString(), Cp.toString(), Exp->getExprLoc()); in warnIfMutexHeld()
/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.cpp497 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl()
1077 std::string I = OID->getNameAsString(); in VisitObjCImplementationDecl()
1108 std::string I = OID->getNameAsString(); in VisitObjCInterfaceDecl()
DASTDumper.cpp719 OS << ' ' << ND->getNameAsString(); in dumpName()
1390 OS << D->getNameAsString(); in VisitUsingDecl()
1398 OS << D->getNameAsString(); in VisitUnresolvedUsingTypenameDecl()
1405 OS << D->getNameAsString(); in VisitUnresolvedUsingValueDecl()
DASTDiagnostic.cpp1492 OS << FromTD->getNameAsString() << "<>"; in TreeToString()
1500 OS << FromTD->getNameAsString() << '<'; in TreeToString()
1658 OS << "template " << FromTD->getNameAsString(); in PrintTemplateTemplate()
DStmtPrinter.cpp1973 std::string ParamStr = P->getNameAsString(); in VisitLambdaExpr()
2396 std::string ParamStr = (*AI)->getNameAsString(); in VisitBlockExpr()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp469 std::string PropertyNameString = Getter->getNameAsString(); in rewriteToObjCProperty()
672 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
681 ClassString += ConformingProtocols[i]->getNameAsString(); in rewriteToObjCInterfaceDecl()
/external/clang/include/clang/AST/
DDeclObjC.h2188 std::string getNameAsString() const { in getNameAsString() function
2336 std::string getNameAsString() const { in getNameAsString() function
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTraverse.h609 SS << E->clangDecl()->getNameAsString(); in printLiteralPtr()
/external/clang/tools/libclang/
DCIndex.cpp3750 return cxstring::createDup(Template->getNameAsString()); in clang_getCursorSpelling()
3757 return cxstring::createDup(NS->getNameAsString()); in clang_getCursorSpelling()
3764 return cxstring::createDup(Field->getNameAsString()); in clang_getCursorSpelling()
3778 return cxstring::createDup(ND->getNameAsString()); in clang_getCursorSpelling()
3787 return cxstring::createDup((*Ovl->begin())->getNameAsString()); in clang_getCursorSpelling()
3794 return cxstring::createDup(Var->getNameAsString()); in clang_getCursorSpelling()

12