clang 20.0.0git
Public Member Functions | List of all members
clang::BeforeThanCompare< SourceRange > Class Reference

Compare two non-overlapping source ranges. More...

#include "clang/Basic/SourceManager.h"

Public Member Functions

 BeforeThanCompare (SourceManager &SM)
 
bool operator() (SourceRange LHS, SourceRange RHS) const
 

Detailed Description

Compare two non-overlapping source ranges.

Definition at line 2006 of file SourceManager.h.

Constructor & Destructor Documentation

◆ BeforeThanCompare()

clang::BeforeThanCompare< SourceRange >::BeforeThanCompare ( SourceManager SM)
inlineexplicit

Definition at line 2010 of file SourceManager.h.

Member Function Documentation

◆ operator()()

bool clang::BeforeThanCompare< SourceRange >::operator() ( SourceRange  LHS,
SourceRange  RHS 
) const
inline

Definition at line 2012 of file SourceManager.h.

References clang::SourceRange::getBegin(), and SM.


The documentation for this class was generated from the following file: