Home
last modified time | relevance | path

Searched refs:ExpansionRange (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp225 CharSourceRange ExpansionRange = SM.getExpansionRange(EntityLast); in getEntityEndLoc() local
230 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1604 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), in getLengthOnSingleLine() local
1607 FileID FID = SM.getFileID(ExpansionRange.getBegin()); in getLengthOnSingleLine()
1608 if (FID != SM.getFileID(ExpansionRange.getEnd())) in getLengthOnSingleLine()
1615 unsigned BeginOffset = SM.getFileOffset(ExpansionRange.getBegin()); in getLengthOnSingleLine()
1616 unsigned EndOffset = SM.getFileOffset(ExpansionRange.getEnd()); in getLengthOnSingleLine()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp479 SourceRange ExpansionRange(ExpandLoc, ExpansionEnd); in HandleMacroExpandedIdentifier() local
488 MacroExpandsInfo(Identifier, M, ExpansionRange)); in HandleMacroExpandedIdentifier()
490 Callbacks->MacroExpands(Identifier, M, ExpansionRange, Args); in HandleMacroExpandedIdentifier()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp315 auto ExpansionRange = SM.getImmediateExpansionRange(Loc); in getNonScratchExpansionLoc() local
316 Loc = ExpansionRange.getBegin(); in getNonScratchExpansionLoc()
317 EndLoc = ExpansionRange.getEnd(); in getNonScratchExpansionLoc()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp262 CharSourceRange ExpansionRange = SM.getExpansionRange(AttrTokLoc); in ParseGNUAttributes() local
264 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes()
268 Attrs[i].setMacroIdentifier(MacroII, ExpansionRange.getBegin()); in ParseGNUAttributes()