clang API Documentation
Compare comments' source locations. More...
#include <RawCommentList.h>
Public Member Functions | |
BeforeThanCompare (const SourceManager &SM) | |
bool | operator() (const RawComment &LHS, const RawComment &RHS) |
bool | operator() (const RawComment *LHS, const RawComment *RHS) |
Compare comments' source locations.
Definition at line 165 of file RawCommentList.h.
clang::BeforeThanCompare< RawComment >::BeforeThanCompare | ( | const SourceManager & | SM | ) | [inline, explicit] |
Definition at line 169 of file RawCommentList.h.
bool clang::BeforeThanCompare< RawComment >::operator() | ( | const RawComment & | LHS, |
const RawComment & | RHS | ||
) | [inline] |
Definition at line 171 of file RawCommentList.h.
References clang::RawComment::getLocStart(), and SM.
bool clang::BeforeThanCompare< RawComment >::operator() | ( | const RawComment * | LHS, |
const RawComment * | RHS | ||
) | [inline] |
Definition at line 175 of file RawCommentList.h.