File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -824,7 +824,7 @@ static std::vector<const char *> printf2fmt(std::string &format) {
824824 }
825825 }
826826 }
827- cpp2rust:: verrs () << " Unknown printf format: " << format << " \n " ;
827+ verrs () << " Unknown printf format: " << format << " \n " ;
828828 assert (0 );
829829 }
830830 return types;
@@ -838,9 +838,9 @@ void ConverterRefCount::ConvertPrintf(clang::CallExpr *expr) {
838838 expr->getArg (is_fprintf)->IgnoreImplicit ())) {
839839 format = GetEscapedStringLiteral (str);
840840 } else {
841- cpp2rust:: verrs () << " Uknown fprintf format: " ;
842- expr->getArg (1 )->dump (cpp2rust:: verrs (), ctx_);
843- cpp2rust:: verrs () << " \n " ;
841+ verrs () << " Uknown fprintf format: " ;
842+ expr->getArg (1 )->dump (verrs (), ctx_);
843+ verrs () << " \n " ;
844844 exit (1 );
845845 }
846846 bool ends_newline = format.ends_with (" \\ n\" " );
@@ -851,7 +851,7 @@ void ConverterRefCount::ConvertPrintf(clang::CallExpr *expr) {
851851 } else if (fd == " stderr" || fd == " __stderrp" ) {
852852 StrCat (ends_newline ? " eprintln!(" : " eprint!(" );
853853 } else {
854- cpp2rust:: verrs () << " Uknown fprintf fd: " << fd << " \n " ;
854+ verrs () << " Uknown fprintf fd: " << fd << " \n " ;
855855 exit (1 );
856856 }
857857 if (ends_newline) {
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ bool Converter::emplace_back_plugin_convert(clang::CallExpr *call) {
183183 StrCat (GetUnsafeTypeAsString (elem_ty));
184184 }
185185 } else {
186- call->dump (cpp2rust:: verrs (), ctx_);
186+ call->dump (verrs (), ctx_);
187187 assert (0 && " no ctor and no pod type" );
188188 return false ;
189189 }
You can’t perform that action at this time.
0 commit comments