Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DPlistReporter.cpp110 CharSourceRange ExpansionRange(SM.getExpansionRange(R.getAsRange()), in writeARCDiagsToPlist() local
112 EmitRange(o, SM, Lexer::getAsCharRange(ExpansionRange, SM, LangOpts), in writeARCDiagsToPlist()
/external/llvm-project/clang/lib/ARCMigrate/
DPlistReporter.cpp109 CharSourceRange ExpansionRange = SM.getExpansionRange(R); in writeARCDiagsToPlist() local
110 EmitRange(o, SM, Lexer::getAsCharRange(ExpansionRange, SM, LangOpts), in writeARCDiagsToPlist()
/external/llvm-project/clang/lib/Tooling/Transformer/
DSourceCode.cpp132 CharSourceRange ExpansionRange = SM.getExpansionRange(EntityLast); in getEntityEndLoc() local
137 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc()
/external/llvm-project/clang/lib/Lex/
DPPMacroExpansion.cpp524 SourceRange ExpansionRange(ExpandLoc, ExpansionEnd); in HandleMacroExpandedIdentifier() local
533 MacroExpandsInfo(Identifier, M, ExpansionRange)); in HandleMacroExpandedIdentifier()
535 Callbacks->MacroExpands(Identifier, M, ExpansionRange, Args); in HandleMacroExpandedIdentifier()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp1566 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), in getLengthOnSingleLine() local
1569 FileID FID = SM.getFileID(ExpansionRange.getBegin()); in getLengthOnSingleLine()
1570 if (FID != SM.getFileID(ExpansionRange.getEnd())) in getLengthOnSingleLine()
1577 unsigned BeginOffset = SM.getFileOffset(ExpansionRange.getBegin()); in getLengthOnSingleLine()
1578 unsigned EndOffset = SM.getFileOffset(ExpansionRange.getEnd()); in getLengthOnSingleLine()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp470 SourceRange ExpansionRange(ExpandLoc, ExpansionEnd); in HandleMacroExpandedIdentifier() local
479 MacroExpandsInfo(Identifier, M, ExpansionRange)); in HandleMacroExpandedIdentifier()
481 Callbacks->MacroExpands(Identifier, M, ExpansionRange, Args); in HandleMacroExpandedIdentifier()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp2117 SourceRange ExpansionRange(SM.getExpansionLoc(Range.getBegin()), in getLengthOnSingleLine() local
2120 FileID FID = SM.getFileID(ExpansionRange.getBegin()); in getLengthOnSingleLine()
2121 if (FID != SM.getFileID(ExpansionRange.getEnd())) in getLengthOnSingleLine()
2129 unsigned BeginOffset = SM.getFileOffset(ExpansionRange.getBegin()); in getLengthOnSingleLine()
2130 unsigned EndOffset = SM.getFileOffset(ExpansionRange.getEnd()); in getLengthOnSingleLine()
/external/llvm-project/clang/lib/Parse/
DParseDecl.cpp231 CharSourceRange ExpansionRange = SM.getExpansionRange(AttrTokLoc); in ParseGNUAttributes() local
233 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes()
237 attrs[i].setMacroIdentifier(MacroII, ExpansionRange.getBegin()); in ParseGNUAttributes()