1 //===-- lib/Parser/char-block.cpp -------------------------------*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //----------------------------------------------------------------------------// 8 9 #include "flang/Parser/char-block.h" 10 #include "llvm/Support/raw_ostream.h" 11 12 namespace Fortran::parser { 13 operator <<(llvm::raw_ostream & os,const CharBlock & x)14llvm::raw_ostream &operator<<(llvm::raw_ostream &os, const CharBlock &x) { 15 return os << x.ToString(); 16 } 17 18 } // namespace Fortran::parser 19