Lines Matching refs:Inc
95 const IncludedFile *Inc = nullptr);
97 StringRef getIncludedFileName(const IncludedFile *Inc) const;
319 InclusionRewriter::getIncludedFileName(const IncludedFile *Inc) const { in getIncludedFileName()
320 if (Inc) { in getIncludedFileName()
321 auto B = SM.getBufferOrNone(Inc->Id); in getIncludedFileName()
339 const IncludedFile *Inc) { in CommentOutDirective() argument
351 if (Inc) { in CommentOutDirective()
353 if (isSystem(Inc->FileType)) in CommentOutDirective()
355 OS << "/* " << getIncludedFileName(Inc); in CommentOutDirective()
364 OS << (Inc ? "#else /* " : "#endif /*") << getIncludedFileName(Inc) in CommentOutDirective()
429 const IncludedFile *Inc = FindIncludeAtLocation(Loc); in Process() local
431 NextToWrite, Line, Inc); in Process()
437 else if (Inc) { in Process()
444 Process(Inc->Id, Inc->FileType); in Process()
451 OS << "#endif /* " << getIncludedFileName(Inc) in Process()