llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: eiytoq (eiytoq) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/183030.diff 1 Files Affected: - (modified) clang/lib/AST/ItaniumMangle.cpp (+4-12) ``````````diff diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp index df00760fa911b..08aa9dbb19682 100644 --- a/clang/lib/AST/ItaniumMangle.cpp +++ b/clang/lib/AST/ItaniumMangle.cpp @@ -802,8 +802,8 @@ void CXXNameMangler::mangleSourceNameWithAbiTags( void CXXNameMangler::mangle(GlobalDecl GD) { // <mangled-name> ::= _Z <encoding> - // ::= <data name> - // ::= <special-name> + // ::= <data name> + // ::= <special-name> Out << "_Z"; if (isa<FunctionDecl>(GD.getDecl())) mangleFunctionEncoding(GD); @@ -7248,16 +7248,8 @@ bool CXXNameMangler::shouldHaveAbiTags(ItaniumMangleContextImpl &C, return TrackAbiTags.AbiTagsRoot.getUsedAbiTags().size(); } -// - -/// Mangles the name of the declaration D and emits that name to the given -/// output stream. -/// -/// If the declaration D requires a mangled name, this routine will emit that -/// mangled name to \p os and return true. Otherwise, \p os will be unchanged -/// and this routine will return false. In this case, the caller should just -/// emit the identifier of the declaration (\c D->getIdentifier()) as its -/// name. +/// Mangles the name of the declaration \p GD and emits that name to the given +/// output stream \p Out. void ItaniumMangleContextImpl::mangleCXXName(GlobalDecl GD, raw_ostream &Out) { const NamedDecl *D = cast<NamedDecl>(GD.getDecl()); `````````` </details> https://github.com/llvm/llvm-project/pull/183030 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
