]> granicus.if.org Git - clang/commitdiff
Move comment from member operator() to class.
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 30 Jul 2012 19:47:34 +0000 (19:47 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 30 Jul 2012 19:47:34 +0000 (19:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160980 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CXComment.cpp

index 05dc6fe4f8109171d20840ed6fa90de161bccf20..f8e89f2877304121982b9002032a53b42efbafc8 100644 (file)
@@ -316,10 +316,10 @@ CXString clang_VerbatimLineComment_getText(CXComment CXC) {
 
 namespace {
 
+/// This comparison will sort parameters with valid index by index and
+/// invalid (unresolved) parameters last.
 class ParamCommandCommentCompareIndex {
 public:
-  /// This comparison will sort parameters with valid index by index and
-  /// invalid (unresolved) parameters last.
   bool operator()(const ParamCommandComment *LHS,
                   const ParamCommandComment *RHS) const {
     unsigned LHSIndex = UINT_MAX;