Home
last modified time | relevance | path

Searched refs:PPOffs (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp153 unsigned PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput() local
157 if (PPOffs == RawOffs && isSameToken(RawTok, PPTok)) { in RewriteMacrosInInput()
165 if (RawOffs <= PPOffs) { in RewriteMacrosInInput()
184 } while (RawOffs <= PPOffs && !RawTok.isAtStartOfLine() && in RewriteMacrosInInput()
185 (PPOffs != RawOffs || !isSameToken(RawTok, PPTok))); in RewriteMacrosInInput()
194 unsigned InsertPos = PPOffs; in RewriteMacrosInInput()
196 while (PPOffs < RawOffs) { in RewriteMacrosInInput()
200 PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput()
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp154 unsigned PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput() local
158 if (PPOffs == RawOffs && isSameToken(RawTok, PPTok)) { in RewriteMacrosInInput()
166 if (RawOffs <= PPOffs) { in RewriteMacrosInInput()
185 } while (RawOffs <= PPOffs && !RawTok.isAtStartOfLine() && in RewriteMacrosInInput()
186 (PPOffs != RawOffs || !isSameToken(RawTok, PPTok))); in RewriteMacrosInInput()
195 unsigned InsertPos = PPOffs; in RewriteMacrosInInput()
197 while (PPOffs < RawOffs) { in RewriteMacrosInInput()
201 PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput()
/external/clang/lib/Serialization/
DASTReader.cpp4881 const PPEntityOffset &PPOffs = M.PreprocessedEntityOffsets[LocalIndex]; in ReadPreprocessedEntity() local
4889 M.PreprocessorDetailCursor.JumpToBit(PPOffs.BitOffset); in ReadPreprocessedEntity()
4897 SourceRange Range(TranslateSourceLocation(M, PPOffs.getBegin()), in ReadPreprocessedEntity()
4898 TranslateSourceLocation(M, PPOffs.getEnd())); in ReadPreprocessedEntity()
5086 const PPEntityOffset &PPOffs = M.PreprocessedEntityOffsets[LocalIndex]; in isPreprocessedEntityInFileID() local
5088 SourceLocation Loc = TranslateSourceLocation(M, PPOffs.getBegin()); in isPreprocessedEntityInFileID()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp5925 const PPEntityOffset &PPOffs = M.PreprocessedEntityOffsets[LocalIndex]; in ReadPreprocessedEntity() local
5934 M.MacroOffsetsBase + PPOffs.BitOffset)) { in ReadPreprocessedEntity()
5951 SourceRange Range(TranslateSourceLocation(M, PPOffs.getBegin()), in ReadPreprocessedEntity()
5952 TranslateSourceLocation(M, PPOffs.getEnd())); in ReadPreprocessedEntity()
6148 const PPEntityOffset &PPOffs = M.PreprocessedEntityOffsets[LocalIndex]; in isPreprocessedEntityInFileID() local
6150 SourceLocation Loc = TranslateSourceLocation(M, PPOffs.getBegin()); in isPreprocessedEntityInFileID()