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 05dc6fe..f8e89f2 100644
--- a/tools/libclang/CXComment.cpp
+++ b/tools/libclang/CXComment.cpp
@@ -316,10 +316,10 @@
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;