clang 24.0.0git
clang::ssaf::SourceLocationRecord Struct Reference

A canonical (file, line, column) triple for one declaration site. More...

#include "clang/ScalableStaticAnalysis/Analyses/SharedLexicalRepresentation/SharedLexicalRepresentation.h"

Public Member Functions

bool operator== (const SourceLocationRecord &Other) const
bool operator< (const SourceLocationRecord &Other) const

Public Attributes

std::string FilePath
unsigned Line = 0
unsigned Column = 0

Detailed Description

A canonical (file, line, column) triple for one declaration site.

Definition at line 23 of file SharedLexicalRepresentation.h.

Member Function Documentation

◆ operator<()

bool clang::ssaf::SourceLocationRecord::operator< ( const SourceLocationRecord & Other) const
inline

Definition at line 33 of file SharedLexicalRepresentation.h.

References Column, FilePath, Line, and clang::Other.

◆ operator==()

bool clang::ssaf::SourceLocationRecord::operator== ( const SourceLocationRecord & Other) const
inline

Definition at line 28 of file SharedLexicalRepresentation.h.

References Column, FilePath, Line, and clang::Other.

Member Data Documentation

◆ Column

unsigned clang::ssaf::SourceLocationRecord::Column = 0

Definition at line 26 of file SharedLexicalRepresentation.h.

Referenced by operator<(), and operator==().

◆ FilePath

std::string clang::ssaf::SourceLocationRecord::FilePath

Definition at line 24 of file SharedLexicalRepresentation.h.

Referenced by operator<(), and operator==().

◆ Line

unsigned clang::ssaf::SourceLocationRecord::Line = 0

Definition at line 25 of file SharedLexicalRepresentation.h.

Referenced by operator<(), and operator==().


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