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

Compare two source locations. More...

#include "clang/Basic/SourceManager.h"

Public Member Functions

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

Detailed Description

Compare two source locations.

Definition at line 1993 of file SourceManager.h.

Constructor & Destructor Documentation

◆ BeforeThanCompare()

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

Definition at line 1997 of file SourceManager.h.

Member Function Documentation

◆ operator()()

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

Definition at line 1999 of file SourceManager.h.

References SM.


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