mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
clang-tidy: add ending namespace comments
Found with google-readability-namespace-comments Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
b77e828d4b
commit
38d1d4c21c
@ -69,7 +69,7 @@ namespace
|
||||
{
|
||||
return String(s, unicodeStrings ? String::UTF8 : String::Latin1);
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
void taglib_set_strings_unicode(BOOL unicode)
|
||||
{
|
||||
|
@ -70,7 +70,7 @@ namespace
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class APE::Tag::TagPrivate
|
||||
{
|
||||
@ -217,7 +217,7 @@ namespace
|
||||
{"RELEASESTATUS", "MUSICBRAINZ_ALBUMSTATUS" },
|
||||
{"RELEASETYPE", "MUSICBRAINZ_ALBUMTYPE" }};
|
||||
const size_t keyConversionsSize = sizeof(keyConversions) / sizeof(keyConversions[0]);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
PropertyMap APE::Tag::properties() const
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ namespace
|
||||
const ByteVector contentEncryptionGuid("\xFB\xB3\x11\x22\x23\xBD\xD2\x11\xB4\xB7\x00\xA0\xC9\x55\xFC\x6E", 16);
|
||||
const ByteVector extendedContentEncryptionGuid("\x14\xE6\x8A\x29\x22\x26 \x17\x4C\xB9\x35\xDA\xE0\x7E\xE9\x28\x9C", 16);
|
||||
const ByteVector advancedContentEncryptionGuid("\xB6\x9B\x07\x7A\xA4\xDA\x12\x4E\xA5\xCA\x91\xD3\x8D\xC1\x1A\x8D", 16);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class ASF::File::FilePrivate::BaseObject
|
||||
{
|
||||
|
@ -269,7 +269,7 @@ namespace
|
||||
|
||||
return String();
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
PropertyMap ASF::Tag::properties() const
|
||||
{
|
||||
|
@ -278,7 +278,7 @@ namespace
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class FileRef::FileRefPrivate : public RefCounter
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ namespace
|
||||
const long MaxPaddingLegnth = 1024 * 1024;
|
||||
|
||||
const char LastBlockFlag = '\x80';
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class FLAC::File::FilePrivate
|
||||
{
|
||||
|
@ -49,7 +49,7 @@ namespace
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class MP4::File::FilePrivate
|
||||
{
|
||||
|
@ -50,7 +50,7 @@ namespace
|
||||
|
||||
return totalLength;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class MP4::Properties::PropertiesPrivate
|
||||
{
|
||||
|
@ -953,7 +953,7 @@ namespace
|
||||
|
||||
return String();
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
PropertyMap MP4::Tag::properties() const
|
||||
{
|
||||
|
@ -201,7 +201,7 @@ namespace
|
||||
// This array looks weird, but the same as original MusePack code found at:
|
||||
// https://www.musepack.net/index.php?pg=src
|
||||
const unsigned short sftable [8] = { 44100, 48000, 37800, 32000, 0, 0, 0, 0 };
|
||||
}
|
||||
} // namespace
|
||||
|
||||
void MPC::Properties::readSV8(File *file, long streamLength)
|
||||
{
|
||||
|
@ -224,7 +224,7 @@ namespace
|
||||
L"Psybient"
|
||||
};
|
||||
const int genresSize = sizeof(genres) / sizeof(genres[0]);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
StringList ID3v1::genreList()
|
||||
{
|
||||
|
@ -75,7 +75,7 @@ namespace {
|
||||
}
|
||||
return l;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// public methods
|
||||
|
@ -133,7 +133,7 @@ namespace
|
||||
{"MIX", "MIXER"},
|
||||
};
|
||||
const size_t involvedPeopleSize = sizeof(involvedPeople) / sizeof(involvedPeople[0]);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
const KeyConversionMap &TextIdentificationFrame::involvedPeopleMap() // static
|
||||
{
|
||||
|
@ -74,7 +74,7 @@ namespace
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// static methods
|
||||
@ -426,7 +426,7 @@ namespace
|
||||
{"TIME", "TDRC"}, // 2.3 -> 2.4
|
||||
};
|
||||
const size_t deprecatedFramesSize = sizeof(deprecatedFrames) / sizeof(deprecatedFrames[0]);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
String Frame::frameIDToKey(const ByteVector &id)
|
||||
{
|
||||
|
@ -85,7 +85,7 @@ namespace
|
||||
|
||||
frame->setText(newfields);
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class FrameFactory::FrameFactoryPrivate
|
||||
{
|
||||
@ -477,7 +477,7 @@ namespace
|
||||
{ "IPLS", "TIPL" },
|
||||
};
|
||||
const size_t frameConversion3Size = sizeof(frameConversion3) / sizeof(frameConversion3[0]);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
bool FrameFactory::updateFrame(Frame::Header *header) const
|
||||
{
|
||||
|
@ -64,7 +64,7 @@ namespace
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class ID3v2::Tag::TagPrivate
|
||||
{
|
||||
|
@ -93,7 +93,7 @@ namespace
|
||||
AudioProperties *audioProperties() const { return 0; }
|
||||
bool save() { return false; }
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
bool MPEG::File::isSupported(IOStream *stream)
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ namespace
|
||||
else
|
||||
return page->firstPacketIndex() + page->packetCount() - 1;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class Ogg::File::FilePrivate
|
||||
{
|
||||
|
@ -1030,7 +1030,7 @@ void ByteVector::detach()
|
||||
ByteVector().swap(*this);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace TagLib
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// related functions
|
||||
|
@ -59,6 +59,6 @@ namespace TagLib
|
||||
debugListener->printMessage(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace TagLib
|
||||
|
||||
#endif
|
||||
|
@ -61,7 +61,7 @@ namespace
|
||||
};
|
||||
|
||||
DefaultListener defaultListener;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
namespace TagLib
|
||||
{
|
||||
@ -82,4 +82,4 @@ namespace TagLib
|
||||
else
|
||||
debugListener = &defaultListener;
|
||||
}
|
||||
}
|
||||
} // namespace TagLib
|
||||
|
@ -124,7 +124,7 @@ namespace
|
||||
}
|
||||
|
||||
#endif // _WIN32
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class FileStream::FileStreamPrivate
|
||||
{
|
||||
|
@ -93,4 +93,4 @@ namespace TagLib
|
||||
{
|
||||
return static_cast<int>(d->refCount);
|
||||
}
|
||||
}
|
||||
} // namespace TagLib
|
||||
|
@ -134,7 +134,7 @@ namespace
|
||||
data[i] = c;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
namespace TagLib {
|
||||
|
||||
@ -712,7 +712,7 @@ void String::detach()
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
const String::Type String::WCharByteOrder = wcharByteOrder();
|
||||
}
|
||||
} // namespace TagLib
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// related non-member functions
|
||||
|
@ -255,7 +255,7 @@ namespace
|
||||
return getMetaDataChunk(block, ID_DSD_BLOCK);
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace
|
||||
|
||||
void WavPack::Properties::read(File *file, long streamLength)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user