From: Dmitri Gribenko Date: Mon, 30 Jul 2012 19:47:34 +0000 (+0000) Subject: Move comment from member operator() to class. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5db09cf6772332c14dc7dc541de53f918f89125;p=clang Move comment from member operator() to class. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160980 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/libclang/CXComment.cpp b/tools/libclang/CXComment.cpp index 05dc6fe4f8..f8e89f2877 100644 --- a/tools/libclang/CXComment.cpp +++ b/tools/libclang/CXComment.cpp @@ -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;