diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-30 19:47:34 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-30 19:47:34 +0000 |
commit | e5db09cf6772332c14dc7dc541de53f918f89125 (patch) | |
tree | 087928e0588a668b50111eb80e51d89cc9e29083 /tools/libclang/CXComment.cpp | |
parent | e5deb79d0e7f1c81fdc9ae89ed5a4edc9a589581 (diff) |
Move comment from member operator() to class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160980 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/CXComment.cpp')
-rw-r--r-- | tools/libclang/CXComment.cpp | 4 |
1 files 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; |