Home
last modified time | relevance | path

Searched refs:DeclName (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/Extract/
H A DExtract.h30 std::optional<std::string> DeclName);
36 std::optional<std::string> DeclName) in ExtractFunction() argument
38 DeclName(DeclName ? std::move(*DeclName) : "extracted") {} in ExtractFunction()
48 std::string DeclName; variable
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DGCDAntipatternChecker.cpp59 decltype(auto) equalsBoundArgDecl(int ArgIdx, const char *DeclName) { in equalsBoundArgDecl() argument
61 to(varDecl(equalsBoundNode(DeclName)))))); in equalsBoundArgDecl()
64 decltype(auto) bindAssignmentToDecl(const char *DeclName) { in bindAssignmentToDecl() argument
66 declRefExpr(to(varDecl().bind(DeclName))))); in bindAssignmentToDecl()
75 std::string DeclName = ND->getNameAsString(); in isTest() local
76 if (StringRef(DeclName).startswith("test")) in isTest()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DIssueHash.cpp94 std::string DeclName; in GetEnclosingDeclContextSignature() local
101 DeclName = ND->getQualifiedNameAsString(); in GetEnclosingDeclContextSignature()
108 DeclName = GetSignature(dyn_cast_or_null<FunctionDecl>(ND)); in GetEnclosingDeclContextSignature()
113 DeclName = ND->getQualifiedNameAsString(); in GetEnclosingDeclContextSignature()
119 return DeclName; in GetEnclosingDeclContextSignature()
H A DBodyFarm.cpp245 DeclarationName DeclName = C.DeclarationNames.getIdentifier(&II); in findMemberField() local
247 DeclContextLookupResult Decls = RD->lookup(DeclName); in findMemberField()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Extract/
H A DExtract.cpp72 std::optional<std::string> DeclName) { in initiate() argument
94 return ExtractFunction(std::move(Code), DeclName); in initiate()
158 ReturnType.print(OS, PP, DeclName); in createSourceReplacements()
181 OS << DeclName << '('; in createSourceReplacements()
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DTGParser.cpp2814 Init *DeclName = StringInit::get(Records, Str); in ParseDeclaration() local
2820 RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
2825 DeclName = QualifyName(*CurRec, CurMultiClass, DeclName, ":"); in ParseDeclaration()
2826 BadField = AddValue(CurRec, IdLoc, RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
2831 DeclName = QualifyName(CurMultiClass->Rec, CurMultiClass, DeclName, "::"); in ParseDeclaration()
2832 BadField = AddValue(CurRec, IdLoc, RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
2843 SetValue(CurRec, ValLoc, DeclName, std::nullopt, Val, in ParseDeclaration()
2848 return DeclName; in ParseDeclaration()
2852 return DeclName; in ParseDeclaration()
2869 Init *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseForeachDeclaration() local
[all …]
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexSymbol.cpp498 DeclarationName DeclName = ND->getDeclName(); in printSymbolName() local
499 if (DeclName.isEmpty()) in printSymbolName()
501 DeclName.print(OS, Policy); in printSymbolName()
H A DCommentToXML.cpp910 if (DeclarationName DeclName = ND->getDeclName()) { in visitFullComment() local
912 std::string Name = DeclName.getAsString(); in visitFullComment()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclPrinter.cpp122 void printDeclType(QualType T, StringRef DeclName, bool Pack = false);
280 void DeclPrinter::printDeclType(QualType T, StringRef DeclName, bool Pack) { in printDeclType() argument
288 T.print(Out, Policy, (Pack ? "..." : "") + DeclName, Indentation); in printDeclType()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp5308 StringRef DeclName, LinkageName; in EmitGlobalVariable() local
5311 collectVarDeclProps(D, Unit, LineNo, T, DeclName, LinkageName, in EmitGlobalVariable()
5321 if (T->isUnionType() && DeclName.empty()) { in EmitGlobalVariable()
5343 DContext, DeclName, LinkageName, Unit, LineNo, getOrCreateType(T, Unit), in EmitGlobalVariable()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOverload.cpp14706 DeclarationName DeclName = UnresExpr->getMemberName(); in BuildCallToMemberFunction() local
14737 << DeclName << MemExprE->getSourceRange()), in BuildCallToMemberFunction()
14744 << DeclName << MemExprE->getSourceRange()), in BuildCallToMemberFunction()
14751 << DeclName << MemExprE->getSourceRange()), in BuildCallToMemberFunction()