Astyle.

NoBreakSingleLineBlocks Property

Summary

true to keep single line statements on the same line.
    if (isFoo)
    { isFoo = false; cout << isFoo << endl; }

    remains as is.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks
Containing Type
Astyle

Syntax

[TaskAttribute("nobreak-singlelineblocks", Required = false)]
[BooleanValidator()]
public bool NoBreakSingleLineBlocks { get; set; }

Attributes

Type Description
TaskAttribute
BooleanValidator

Value

Type Description
bool