Lines Matching refs:os_
335 : os_(os), d_(std::move(d)) { in IfDefScope()
336 os_ << "#ifdef " << d_ << "\n"; in IfDefScope()
338 IfDefScope::~IfDefScope() { os_ << "#endif // " << d_ << "\n"; } in ~IfDefScope()
342 : os_(os), d_(std::move(namespaces)) { in NamespaceScope()
344 os_ << "namespace " << s << " {\n"; in NamespaceScope()
349 os_ << "} // namespace " << *i << "\n"; in ~NamespaceScope()
354 : os_(os), in IncludeGuardScope()
357 os_ << "#ifndef " << d_ << "\n"; in IncludeGuardScope()
358 os_ << "#define " << d_ << "\n\n"; in IncludeGuardScope()
360 IncludeGuardScope::~IncludeGuardScope() { os_ << "#endif // " << d_ << "\n"; } in ~IncludeGuardScope()
362 IncludeObjectMacrosScope::IncludeObjectMacrosScope(std::ostream& os) : os_(os) { in IncludeObjectMacrosScope()
363 os_ << "\n// Has to be the last include (doesn't have include guards):\n" in IncludeObjectMacrosScope()
367 os_ << "\n#include \"src/objects/object-macros-undef.h\"\n"; in ~IncludeObjectMacrosScope()