Lines Matching refs:Inc
94 const IncludedFile *Inc = nullptr);
96 StringRef getIncludedFileName(const IncludedFile *Inc) const;
317 InclusionRewriter::getIncludedFileName(const IncludedFile *Inc) const { in getIncludedFileName()
318 if (Inc) { in getIncludedFileName()
319 auto B = SM.getBufferOrNone(Inc->Id); in getIncludedFileName()
337 const IncludedFile *Inc) { in CommentOutDirective() argument
349 if (Inc) { in CommentOutDirective()
351 if (isSystem(Inc->FileType)) in CommentOutDirective()
353 OS << "/* " << getIncludedFileName(Inc); in CommentOutDirective()
362 OS << (Inc ? "#else /* " : "#endif /*") << getIncludedFileName(Inc) in CommentOutDirective()
427 const IncludedFile *Inc = FindIncludeAtLocation(Loc); in Process() local
429 NextToWrite, Line, Inc); in Process()
435 else if (Inc) { in Process()
442 Process(Inc->Id, Inc->FileType); in Process()
449 OS << "#endif /* " << getIncludedFileName(Inc) in Process()