summaryrefslogtreecommitdiffstats
path: root/lib/astyle/ASFormatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/astyle/ASFormatter.cpp')
-rw-r--r--lib/astyle/ASFormatter.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/astyle/ASFormatter.cpp b/lib/astyle/ASFormatter.cpp
index 62f7efc4..eb418760 100644
--- a/lib/astyle/ASFormatter.cpp
+++ b/lib/astyle/ASFormatter.cpp
@@ -573,7 +573,7 @@ string ASFormatter::nextLine()
}
}
- // handle tqparenthesies
+ // handle parenthesies
if (currentChar == '(' || currentChar == '[' || (isInTemplate && currentChar == '<'))
{
parenStack->back()++;
@@ -593,7 +593,7 @@ string ASFormatter::nextLine()
}
}
- // check if this tqparenthesis closes a header, e.g. if (...), while (...)
+ // check if this parenthesis closes a header, e.g. if (...), while (...)
if (isInHeader && parenStack->back() == 0)
{
isInHeader = false;
@@ -1033,10 +1033,10 @@ void ASFormatter::setOperatorPaddingMode(bool state)
}
/**
-* set tqparenthesis outside padding mode.
+* set parenthesis outside padding mode.
* options:
-* true statement tqparenthesiss will be padded with spaces around them.
-* false statement tqparenthesiss will not be padded.
+* true statement parenthesiss will be padded with spaces around them.
+* false statement parenthesiss will not be padded.
*
* @param state the padding mode.
*/
@@ -1046,10 +1046,10 @@ void ASFormatter::setParensOutsidePaddingMode(bool state)
}
/**
-* set tqparenthesis inside padding mode.
+* set parenthesis inside padding mode.
* options:
-* true statement tqparenthesis will be padded with spaces around them.
-* false statement tqparenthesis will not be padded.
+* true statement parenthesis will be padded with spaces around them.
+* false statement parenthesis will not be padded.
*
* @param state the padding mode.
*/
@@ -1059,10 +1059,10 @@ void ASFormatter::setParensInsidePaddingMode(bool state)
}
/**
-* set tqparenthesis unpadding mode.
+* set parenthesis unpadding mode.
* options:
-* true statement tqparenthesis will be unpadded with spaces removed around them.
-* false statement tqparenthesis will not be unpadded.
+* true statement parenthesis will be unpadded with spaces removed around them.
+* false statement parenthesis will not be unpadded.
*
* @param state the padding mode.
*/