Searched refs:ExpansionRange (Results 1 – 8 of 8) sorted by relevance
/external/clang/lib/ARCMigrate/ |
D | PlistReporter.cpp | 110 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/ |
D | PlistReporter.cpp | 109 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/ |
D | SourceCode.cpp | 132 CharSourceRange ExpansionRange = SM.getExpansionRange(EntityLast); in getEntityEndLoc() local 137 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc()
|
/external/llvm-project/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 524 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/ |
D | BugReporter.cpp | 1566 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/ |
D | PPMacroExpansion.cpp | 470 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/ |
D | BugReporter.cpp | 2117 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/ |
D | ParseDecl.cpp | 231 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()
|