Lines Matching refs:SourceManager
38 const SourceManager &SourceManager, in isAnnotationDirectlyAfterStatement() argument
41 Lexer::findNextToken(Stmt->getEndLoc(), SourceManager, LangOptions); in isAnnotationDirectlyAfterStatement()
43 while (NextToken && SourceManager.getFileOffset(NextToken->getLocation()) < in isAnnotationDirectlyAfterStatement()
48 NextToken = Lexer::findNextToken(NextToken->getEndLoc(), SourceManager, in isAnnotationDirectlyAfterStatement()
68 auto &SourceManager = Context.getSourceManager(); in buildStatementToAnnotationMapping() local
72 unsigned Offset = SourceManager.getFileOffset(S->getEndLoc()); in buildStatementToAnnotationMapping()
89 if (!isAnnotationDirectlyAfterStatement(Stmt, Range.Begin, SourceManager, in buildStatementToAnnotationMapping()
94 SourceManager.getLocForStartOfFile(SourceManager.getMainFileID()) in buildStatementToAnnotationMapping()
96 .printToString(SourceManager) in buildStatementToAnnotationMapping()
107 Stmt->getBeginLoc().printToString(SourceManager).data()); in buildStatementToAnnotationMapping()
117 SourceManager.getLocForStartOfFile(SourceManager.getMainFileID()) in buildStatementToAnnotationMapping()
119 .printToString(SourceManager) in buildStatementToAnnotationMapping()