leethomason / tinyxml2

TinyXML2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs.
zlib License
5.11k stars 1.84k forks source link

fix tinyxml2 namespaces' ending comment #992

Closed ssmolov closed 2 months ago

ssmolov commented 3 months ago

Several code analysers, like clang-tidy, report warnings on ending comment for tinyxml2 namespace. Here is a clang-tidy 12.0.0 log fragment:

../tinyxml2/tinyxml2.h:2377:2: warning: namespace 'tinyxml2' ends with an unrecognized comment [llvm-namespace-comment]
}       // tinyxml2
 ^~~~~~~~~~~~~~~~~~
  // namespace tinyxml2
../tinyxml2/tinyxml2.h:114:11: note: namespace 'tinyxml2' starts here
namespace tinyxml2
          ^

This pull request is aimed to fix the issue.