Home
last modified time | relevance | path

Searched defs:PPEntityComp (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/lib/Lex/
H A DPreprocessingRecord.cpp182 struct PPEntityComp { struct
183 const SourceManager &SM;
185 explicit PPEntityComp(const SourceManager &SM) : SM(SM) {} in PPEntityComp() function
187 bool operator()(PreprocessedEntity *L, PreprocessedEntity *R) const { in operator ()()
193 bool operator()(PreprocessedEntity *L, SourceLocation RHS) const { in operator ()()
198 bool operator()(SourceLocation LHS, PreprocessedEntity *R) const { in operator ()()
203 SourceLocation getLoc(PreprocessedEntity *PPE) const { in getLoc()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp6128 struct PPEntityComp { struct
6129 const ASTReader &Reader;
6130 ModuleFile &M;
6132 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) {} in PPEntityComp() function
6134 bool operator()(const PPEntityOffset &L, const PPEntityOffset &R) const { in operator ()()
6140 bool operator()(const PPEntityOffset &L, SourceLocation RHS) const { in operator ()()
6145 bool operator()(SourceLocation LHS, const PPEntityOffset &R) const { in operator ()()
6150 SourceLocation getLoc(const PPEntityOffset &PPE) const { in getLoc()