[cfe-commits] r160980 - /cfe/trunk/tools/libclang/CXComment.cpp
Dmitri Gribenko
gribozavr at gmail.com
Mon Jul 30 12:47:34 PDT 2012
Author: gribozavr
Date: Mon Jul 30 14:47:34 2012
New Revision: 160980
URL: http://llvm.org/viewvc/llvm-project?rev=160980&view=rev
Log:
Move comment from member operator() to class.
Modified:
cfe/trunk/tools/libclang/CXComment.cpp
Modified: cfe/trunk/tools/libclang/CXComment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CXComment.cpp?rev=160980&r1=160979&r2=160980&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CXComment.cpp (original)
+++ cfe/trunk/tools/libclang/CXComment.cpp Mon Jul 30 14:47:34 2012
@@ -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;
More information about the cfe-commits
mailing list