Lines Matching refs:SourceMgr
109 RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR, in RawComment() argument
115 if (SR.getBegin() == SR.getEnd() || getRawText(SourceMgr).empty()) { in RawComment()
128 SourceMgr.getDecomposedLoc(Range.getBegin()); in RawComment()
132 SourceMgr.getBufferData(BeginFileID, &Invalid).data(); in RawComment()
151 StringRef RawComment::getRawTextSlow(const SourceManager &SourceMgr) const { in getRawTextSlow()
158 SourceMgr.getDecomposedLoc(Range.getBegin()); in getRawTextSlow()
159 std::tie(EndFileID, EndOffset) = SourceMgr.getDecomposedLoc(Range.getEnd()); in getRawTextSlow()
169 const char *BufferStart = SourceMgr.getBufferData(BeginFileID, in getRawTextSlow()
279 !SourceMgr.isBeforeInTranslationUnit(Comments.back()->getLocStart(), in addComment()
316 commentsStartOnSameColumn(SourceMgr, C1, C2))) && in addComment()
317 onlyWhitespaceBetween(SourceMgr, C1.getLocEnd(), C2.getLocStart(), in addComment()
320 *Comments.back() = RawComment(SourceMgr, MergedRange, true, in addComment()
334 BeforeThanCompare<RawComment>(SourceMgr)); in addDeserializedComments()