Lines Matching refs:Buf
59 static Optional<std::string> preprocess(StringRef Buf, in preprocess() argument
76 while (!Buf.empty()) { in preprocess()
77 if (Buf.startswith("[[")) { in preprocess()
78 size_t I = Buf.find_first_of("[]", 2); in preprocess()
79 if (Buf.substr(I).startswith("]]")) { in preprocess()
80 StringRef MacroExpr = Buf.substr(2, I - 2); in preprocess()
96 Buf = Buf.substr(I + 2); in preprocess()
102 Preprocessed += Buf[0]; in preprocess()
103 Buf = Buf.substr(1); in preprocess()
128 ErrorOr<std::unique_ptr<MemoryBuffer>> Buf = in main() local
130 if (!Buf) in main()
133 Optional<std::string> Buffer = preprocess(Buf.get()->getBuffer(), ErrHandler); in main()