Home
last modified time | relevance | path

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

/src/contrib/llvm-project/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
/src/contrib/llvm-project/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).starts_with("test")) in isTest()
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp3268 Init *DeclName = StringInit::get(Records, Str); in ParseDeclaration() local
3274 RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
3278 DeclName = QualifyName(*CurRec, DeclName); in ParseDeclaration()
3281 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration()
3284 DeclName = QualifyName(CurMultiClass, DeclName); in ParseDeclaration()
3287 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration()
3297 SetValue(CurRec, ValLoc, DeclName, std::nullopt, Val, in ParseDeclaration()
3302 return DeclName; in ParseDeclaration()
3306 return DeclName; in ParseDeclaration()
3323 Init *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseForeachDeclaration() local
[all …]
/src/contrib/llvm-project/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.cpp923 if (DeclarationName DeclName = ND->getDeclName()) { in visitFullComment() local
925 std::string Name = DeclName.getAsString(); in visitFullComment()
/src/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp126 void printDeclType(QualType T, StringRef DeclName, bool Pack = false);
313 void DeclPrinter::printDeclType(QualType T, StringRef DeclName, bool Pack) { in printDeclType() argument
321 T.print(Out, Policy, (Pack ? "..." : "") + DeclName, Indentation); in printDeclType()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp5640 StringRef DeclName, LinkageName; in EmitGlobalVariable() local
5643 collectVarDeclProps(D, Unit, LineNo, T, DeclName, LinkageName, in EmitGlobalVariable()
5653 if (T->isUnionType() && DeclName.empty()) { in EmitGlobalVariable()
5675 DContext, DeclName, LinkageName, Unit, LineNo, getOrCreateType(T, Unit), in EmitGlobalVariable()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp15370 DeclarationName DeclName = UnresExpr->getMemberName(); in BuildCallToMemberFunction() local
15401 << DeclName << MemExprE->getSourceRange()), in BuildCallToMemberFunction()
15408 << DeclName << MemExprE->getSourceRange()), in BuildCallToMemberFunction()
15413 UnresExpr->getMemberLoc(), MemExprE->getSourceRange(), DeclName, in BuildCallToMemberFunction()