aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authordmasloff <dmasloff@yandex-team.com>2024-09-05 23:49:28 +0300
committerdmasloff <dmasloff@yandex-team.com>2024-09-05 23:59:20 +0300
commit91749d44a7f9502232f7c4470f6d62c3b391b1dc (patch)
tree424c87fa5708116a7f2526255e75d67c2fa950f3 /contrib
parentc6547c4b4f05821c35928bc0d50883ab625a30b0 (diff)
downloadydb-91749d44a7f9502232f7c4470f6d62c3b391b1dc.tar.gz
Enable clang-format FixNamespaceComments option
Enable clang-format FixNamespaceComments option 8ffd1b7f4787cdf4e80a92b08f07634abe416854
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/clang16/lib/Format/NamespaceEndCommentsFixer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/libs/clang16/lib/Format/NamespaceEndCommentsFixer.cpp b/contrib/libs/clang16/lib/Format/NamespaceEndCommentsFixer.cpp
index 4bbbd17843..2615a499f7 100644
--- a/contrib/libs/clang16/lib/Format/NamespaceEndCommentsFixer.cpp
+++ b/contrib/libs/clang16/lib/Format/NamespaceEndCommentsFixer.cpp
@@ -142,7 +142,6 @@ std::string computeName(const FormatToken *NamespaceTok) {
std::string computeEndCommentText(StringRef NamespaceName, bool AddNewline,
const FormatToken *NamespaceTok,
unsigned SpacesToAdd) {
- return "";
std::string text = "//";
text.append(SpacesToAdd, ' ');
text += NamespaceTok->TokenText;