mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Generalized messages
This commit is contained in:
parent
d2fa899c83
commit
670709454b
3 changed files with 6 additions and 6 deletions
|
@ -19,8 +19,8 @@ public class CheckersMessages extends NLS {
|
|||
private static final String BUNDLE_NAME = "org.eclipse.cdt.codan.internal.checkers.messages"; //$NON-NLS-1$
|
||||
public static String NamingConventionFunctionChecker_LabelNamePattern;
|
||||
public static String ReturnChecker_Param0;
|
||||
public static String StatementHasNoEffectChecker_ParameterExceptions;
|
||||
public static String StatementHasNoEffectChecker_ParameterExceptionsItem;
|
||||
public static String GenericParameter_ParameterExceptions;
|
||||
public static String GenericParameter_ParameterExceptionsItem;
|
||||
public static String StatementHasNoEffectChecker_ParameterMacro;
|
||||
public static String SuggestedParenthesisChecker_SuggestParanthesesAroundNot;
|
||||
static {
|
||||
|
|
|
@ -133,8 +133,8 @@ public class StatementHasNoEffectChecker extends AbstractIndexAstChecker {
|
|||
addListPreference(
|
||||
problem,
|
||||
PARAM_EXCEPT_ARG_LIST,
|
||||
CheckersMessages.StatementHasNoEffectChecker_ParameterExceptions,
|
||||
CheckersMessages.StatementHasNoEffectChecker_ParameterExceptionsItem);
|
||||
CheckersMessages.GenericParameter_ParameterExceptions,
|
||||
CheckersMessages.GenericParameter_ParameterExceptionsItem);
|
||||
}
|
||||
|
||||
/**s
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
NamingConventionFunctionChecker_LabelNamePattern=Name Pattern
|
||||
ReturnChecker_Param0=Also check functions with implicit return value
|
||||
StatementHasNoEffectChecker_ParameterExceptions=Exceptions (value of the problem argument)
|
||||
StatementHasNoEffectChecker_ParameterExceptionsItem=Value of the argument
|
||||
GenericParameter_ParameterExceptions=Exceptions (value of the problem argument)
|
||||
GenericParameter_ParameterExceptionsItem=Value of the argument
|
||||
StatementHasNoEffectChecker_ParameterMacro=Report problem in statements that comes from macro expansion
|
||||
SuggestedParenthesisChecker_SuggestParanthesesAroundNot=Suggest parentesis around not operator
|
||||
|
|
Loading…
Add table
Reference in a new issue