MCPcopy Create free account
hub / github.com/apache/thrift / printHeaderString

Method printHeaderString

compiler/cpp/tests/catch/catch.hpp:10800–10809  ·  view source on GitHub ↗

if string has a : in first line will set indent to follow it on subsequent lines

Source from the content-addressed store, hash-verified

10798 // if string has a : in first line will set indent to follow it on
10799 // subsequent lines
10800 void printHeaderString( std::string const& _string, std::size_t indent = 0 ) {
10801 std::size_t i = _string.find( ": " );
10802 if( i != std::string::npos )
10803 i+=2;
10804 else
10805 i = 0;
10806 stream << Text( _string, TextAttributes()
10807 .setIndent( indent+i)
10808 .setInitialIndent( indent ) ) << '\n';
10809 }
10810
10811 struct SummaryColumn {
10812

Callers

nothing calls this directly

Calls 3

TextClass · 0.85
TextAttributesClass · 0.85
findMethod · 0.80

Tested by

no test coverage detected