Home
last modified time | relevance | path

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

/freebsd/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
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp90 std::string DeclName; in GetEnclosingDeclContextSignature() local
97 DeclName = ND->getQualifiedNameAsString(); in GetEnclosingDeclContextSignature()
104 DeclName = GetSignature(dyn_cast_or_null<FunctionDecl>(ND)); in GetEnclosingDeclContextSignature()
109 DeclName = ND->getQualifiedNameAsString(); in GetEnclosingDeclContextSignature()
115 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()
/freebsd/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()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp236 DeclarationName DeclName; in constructBufferConceptDecl() local
240 DeclName = DeclarationName( in constructBufferConceptDecl()
244 DeclName = DeclarationName( in constructBufferConceptDecl()
251 ConceptDecl::Create(Context, NSD->getDeclContext(), DeclLoc, DeclName, in constructBufferConceptDecl()
H A DSemaOverload.cpp16188 DeclarationName DeclName = UnresExpr->getMemberName(); in BuildCallToMemberFunction() local
16219 << DeclName << MemExprE->getSourceRange()), in BuildCallToMemberFunction()
16226 << DeclName << MemExprE->getSourceRange()), in BuildCallToMemberFunction()
16231 UnresExpr->getMemberLoc(), MemExprE->getSourceRange(), DeclName, in BuildCallToMemberFunction()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp3354 const Init *DeclName = StringInit::get(Records, Str); in ParseDeclaration() local
3360 RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
3364 DeclName = QualifyName(*CurRec, DeclName); in ParseDeclaration()
3367 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration()
3370 DeclName = QualifyName(CurMultiClass, DeclName); in ParseDeclaration()
3373 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration()
3383 SetValue(CurRec, ValLoc, DeclName, {}, Val, in ParseDeclaration()
3388 return DeclName; in ParseDeclaration()
3392 return DeclName; in ParseDeclaration()
3410 const Init *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseForeachDeclaration() local
[all …]
/freebsd/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.cpp922 if (DeclarationName DeclName = ND->getDeclName()) { in visitFullComment() local
924 std::string Name = DeclName.getAsString(); in visitFullComment()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp368 std::string DeclName = AnalysisDeclContext::getFunctionName(D); in timeTraceScopeDeclMetadata() local
370 std::move(DeclName), SM.getFilename(Loc).str(), in timeTraceScopeDeclMetadata()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp130 void printDeclType(QualType T, StringRef DeclName, bool Pack = false);
341 void DeclPrinter::printDeclType(QualType T, StringRef DeclName, bool Pack) { in printDeclType() argument
349 T.print(Out, Policy, (Pack ? "..." : "") + DeclName, Indentation); in printDeclType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp5903 StringRef DeclName, LinkageName; in EmitGlobalVariable() local
5906 collectVarDeclProps(D, Unit, LineNo, T, DeclName, LinkageName, in EmitGlobalVariable()
5916 if (T->isUnionType() && DeclName.empty()) { in EmitGlobalVariable()
5938 DContext, DeclName, LinkageName, Unit, LineNo, getOrCreateType(T, Unit), in EmitGlobalVariable()