summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXComment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/libclang/CXComment.cpp')
-rw-r--r--clang/tools/libclang/CXComment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/libclang/CXComment.cpp b/clang/tools/libclang/CXComment.cpp
index 05dc6fe4f81..f8e89f28773 100644
--- a/clang/tools/libclang/CXComment.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud