Searched refs:ExpansionRange (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | SourceCode.cpp | 225 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 D | BugReporter.cpp | 1587 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), in getLengthOnSingleLine() local 1590 FileID FID = SM.getFileID(ExpansionRange.getBegin()); in getLengthOnSingleLine() 1591 if (FID != SM.getFileID(ExpansionRange.getEnd())) in getLengthOnSingleLine() 1598 unsigned BeginOffset = SM.getFileOffset(ExpansionRange.getBegin()); in getLengthOnSingleLine() 1599 unsigned EndOffset = SM.getFileOffset(ExpansionRange.getEnd()); in getLengthOnSingleLine()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 534 SourceRange ExpansionRange(ExpandLoc, ExpansionEnd); in HandleMacroExpandedIdentifier() local 543 MacroExpandsInfo(Identifier, M, ExpansionRange)); in HandleMacroExpandedIdentifier() 545 Callbacks->MacroExpands(Identifier, M, ExpansionRange, Args); in HandleMacroExpandedIdentifier()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 317 auto ExpansionRange = SM.getImmediateExpansionRange(Loc); in getNonScratchExpansionLoc() local 318 Loc = ExpansionRange.getBegin(); in getNonScratchExpansionLoc() 319 EndLoc = ExpansionRange.getEnd(); in getNonScratchExpansionLoc()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 298 CharSourceRange ExpansionRange = SM.getExpansionRange(AttrTokLoc); in ParseGNUAttributes() local 300 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes() 304 Attrs[i].setMacroIdentifier(MacroII, ExpansionRange.getBegin()); in ParseGNUAttributes()
|