From e5db09cf6772332c14dc7dc541de53f918f89125 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Mon, 30 Jul 2012 19:47:34 +0000 Subject: [PATCH] Move comment from member operator() to class. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160980 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/libclang/CXComment.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.50.1