From 7a237aaa0ef0d15fcaf7041604e4a033acf1836a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Torbj=C3=B6rn=20Svensson?=
* Nodes that span file context into a macro expansion (and potentially out
* of the macro expansion again) result in an IASTNodeLocation[] result
- * that is of length > 1.
+ * that is of length > 1.
*
* We do not provide meaningful node locations for nested macro references
* (see {@link IASTPreprocessorMacroExpansion#getNestedMacroReferences()}).
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTStandardFunctionDeclarator.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTStandardFunctionDeclarator.java
index 5b16a8ad407..7b866cada12 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTStandardFunctionDeclarator.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTStandardFunctionDeclarator.java
@@ -15,7 +15,7 @@
package org.eclipse.cdt.core.dom.ast;
/**
- * This is a declarator for a non K&R C function.
+ * This is a declarator for a non K&R C function.
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTUnaryExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTUnaryExpression.java
index 9c78146e9f7..683be73d85d 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTUnaryExpression.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTUnaryExpression.java
@@ -53,7 +53,7 @@ public interface IASTUnaryExpression extends IASTExpression {
/**
* Operator ampersand.
- * {@code op_amper}: &exp
+ * {@code op_amper}: &exp
*/
public static final int op_amper = 5;
@@ -129,7 +129,7 @@ public interface IASTUnaryExpression extends IASTExpression {
public static final int op_noexcept = 17;
/**
- * For GCC parsers, only. {@code op_labelReference} is used for &&label type expressions.
+ * For GCC parsers, only. {@code op_labelReference} is used for &&label type expressions.
* @since 5.8
*/
public static final int op_labelReference = 18;
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java
index 723dcff8829..130f657c172 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java
@@ -38,7 +38,7 @@ public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner,
"ICPPASTAliasDeclaration.ALIAS_NAME - Introduced alias name"); //$NON-NLS-1$
/**
- *
- * Example: For
* CDT has:
* Example: The following paths would be resolved as:
- * c:/bin => c:/bin c:${TEMP} => c:/temp /TEMP => /TEMP ${TEMP}/foo => /temp/foo ${BACKUP} => /tmp/backup ${BACKUP}/bar.txt => /tmp/backup/bar.txt SOMEPATH/foo => SOMEPATH/foo c:/bin => c:/bin c:${TEMP} => c:/temp /TEMP => /TEMP ${TEMP}/foo => /temp/foo ${BACKUP} => /tmp/backup ${BACKUP}/bar.txt => /tmp/backup/bar.txt SOMEPATH/foo => SOMEPATH/fooPTY(Mode.CONSOLE)
.
*/
public PTY() throws IOException {
this(Mode.CONSOLE);
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/language/settings/providers/LanguageSettingsManager.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/language/settings/providers/LanguageSettingsManager.java
index 2fc760c77ad..2d75d6c975d 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/language/settings/providers/LanguageSettingsManager.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/language/settings/providers/LanguageSettingsManager.java
@@ -48,7 +48,7 @@ public class LanguageSettingsManager {
* for the given configuration description, resource and language. This is a
* combined list for all providers taking into account settings of parent folder
* if settings for the given resource are not defined. For include paths both
- * local (#include "...") and system (#include <...>) entries are returned.
+ * local (#include "...") and system (#include <...>) entries are returned.
*
* @param cfgDescription - configuration description.
* @param rc - resource such as file or folder.
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/language/settings/providers/LanguageSettingsSerializableProvider.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/language/settings/providers/LanguageSettingsSerializableProvider.java
index a11e4a7903e..bcd849b1074 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/language/settings/providers/LanguageSettingsSerializableProvider.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/language/settings/providers/LanguageSettingsSerializableProvider.java
@@ -165,7 +165,7 @@ public class LanguageSettingsSerializableProvider extends LanguageSettingsBasePr
* {@link #setSettingEntries(ICConfigurationDescription, IResource, String, List)}.
*
* Note also that you can compare these lists with simple equality operator ==,
- * as the lists themselves are backed by WeakHashSet> where
+ * as the lists themselves are backed by WeakHashSet<List<ICLanguageSettingEntry>> where
* identical copies (deep comparison is used) are replaced with the same one instance.
*/
@Override
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java
index 90630584253..34fc11b7b75 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java
@@ -1424,10 +1424,10 @@ public class CoreModel {
*
* Each getProjectDescription(project, true) returns a new copy of the project description
*
- * The writable description uses the cached data untill the first set call
+ * The writable description uses the cached data until the first set call
* after that the description communicates directly to the Build System
* i.e. the implementer of the org.eclipse.cdt.core.CConfigurationDataProvider extension
- * This ensures the Core<->Build System settings integrity
+ * This ensures the Core<->Build System settings integrity
*
* @return {@link ICProjectDescription} or null if the project does not contain the
* CDT data associated with it.
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICConfigurationDescription.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICConfigurationDescription.java
index 9bdc0a3ff55..ffb3a87215f 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICConfigurationDescription.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICConfigurationDescription.java
@@ -234,7 +234,7 @@ public interface ICConfigurationDescription extends ICSettingContainer, ICSettin
* If the current configuration does not reference any other configurations,
* an empty map is returned.
*
- * @return Map
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICProjectDescriptionManager.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICProjectDescriptionManager.java
index 17c382f5f70..a7ca68e58bc 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICProjectDescriptionManager.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICProjectDescriptionManager.java
@@ -176,7 +176,7 @@ public interface ICProjectDescriptionManager {
* The writable description uses the cached data until the first set call
* after that the description communicates directly to the Build System
* i.e. the implementer of the org.eclipse.cdt.core.CConfigurationDataProvider extension
- * This ensures the Core<->Build System settings integrity
+ * This ensures the Core<->Build System settings integrity
*
* @return {@link ICProjectDescription} or null if the project does not contain the
* CDT data associated with it.
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICSettingEntry.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICSettingEntry.java
index db7eda528ea..8836a863fd8 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICSettingEntry.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICSettingEntry.java
@@ -47,7 +47,7 @@ public interface ICSettingEntry {
/**
* Flag {@code LOCAL} is used during creation of {@link IIncludeEntry}
* to indicate that an include path is not a system path.
- * "System" path is denoted by angle brackets as in #include
* 1. Loading configuration from external data source such as .cproject.
- * 2. Loading preference configuration defined in Preferences -> C/C++ -> New project Wizard -> Makefile Project.
+ * 2. Loading preference configuration defined in Preferences -> C/C++ -> New project Wizard -> Makefile Project.
*
* @param cfgDescription - configuration description being loaded.
* @param monitor - progress monitor.
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTAlignmentSpecifier.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTAlignmentSpecifier.java
index 9d555ad597c..8e17c414e6f 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTAlignmentSpecifier.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTAlignmentSpecifier.java
@@ -20,11 +20,11 @@ package org.eclipse.cdt.core.dom.ast;
*
* Possible forms are:
* C++:
- * alignas(op_max
represents >?
+ * op_max
represents >?
*/
public static final int op_max = 32;
/**
* For g++, only.
- * op_min
represents
+ * op_min
represents <?
*/
public static final int op_min = 33;
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTElaboratedTypeSpecifier.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTElaboratedTypeSpecifier.java
index fa5adac9fb0..48b567b058a 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTElaboratedTypeSpecifier.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTElaboratedTypeSpecifier.java
@@ -14,7 +14,7 @@
package org.eclipse.cdt.core.dom.ast;
/**
- * This represents an elaborated type specifier in the C & C++ language grammar.
+ * This represents an elaborated type specifier in the C & C++ language grammar.
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTFieldReference.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTFieldReference.java
index f2964382946..9aed1bff89f 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTFieldReference.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTFieldReference.java
@@ -14,8 +14,8 @@
package org.eclipse.cdt.core.dom.ast;
/**
- * This interface represents expressions that access a field reference. e.g. a.b => a
- * is the expression, b is the field name. e.g. a()->def => a() is the
+ * This interface represents expressions that access a field reference. e.g. a.b => a
+ * is the expression, b is the field name. e.g. a()->def => a() is the
* expression, def is the field name.
*
* @noextend This interface is not intended to be extended by clients.
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java
index 685f176845d..b19df0a2ab1 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java
@@ -63,7 +63,7 @@ public interface IASTNode {
* MAPPING_TYPE
is used for reinterpret_cast<>'s.
+ * MAPPING_TYPEID
represents the pre-existing type id which
* the new symbol aliases.
*/
public static final ASTNodeProperty TARGET_TYPEID = new ASTNodeProperty(
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTCastExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTCastExpression.java
index 7f276883075..e095152ccf7 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTCastExpression.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTCastExpression.java
@@ -23,22 +23,22 @@ import org.eclipse.cdt.core.dom.ast.IASTCastExpression;
*/
public interface ICPPASTCastExpression extends IASTCastExpression, ICPPASTExpression {
/**
- * op_dynamic_cast
is used for dynamic_cast<>'s.
+ * op_dynamic_cast
is used for dynamic_cast<>'s.
*/
public static final int op_dynamic_cast = IASTCastExpression.op_last + 1;
/**
- * op_static_cast
is used for static_cast<>'s.
+ * op_static_cast
is used for static_cast<>'s.
*/
public static final int op_static_cast = IASTCastExpression.op_last + 2;
/**
- * op_const_cast
is used for const_cast<>'s.
+ * op_const_cast
is used for const_cast<>'s.
*/
public static final int op_const_cast = IASTCastExpression.op_last + 4;
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFunctionDeclarator.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFunctionDeclarator.java
index 0180b30de3c..ca4304ce84c 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFunctionDeclarator.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFunctionDeclarator.java
@@ -182,13 +182,13 @@ public interface ICPPASTFunctionDeclarator extends IASTStandardFunctionDeclarato
public void setNoexceptExpression(ICPPASTExpression expression);
/**
- * Returns the trailing return type as in auto f() -> int
, or null
.
+ * Returns the trailing return type as in auto f() -gt; int
, or null
.
* @since 5.2
*/
public IASTTypeId getTrailingReturnType();
/**
- * Trailing return type as in auto f() -> int
.
+ * Trailing return type as in auto f() -> int
.
* @since 5.2
*/
public void setTrailingReturnType(IASTTypeId typeId);
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTReferenceOperator.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTReferenceOperator.java
index fb667e08eb3..4943f4684ae 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTReferenceOperator.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTReferenceOperator.java
@@ -17,14 +17,14 @@ package org.eclipse.cdt.core.dom.ast.cpp;
import org.eclipse.cdt.core.dom.ast.IASTPointerOperator;
/**
- * This is C++'s reference operator, i.e. &, used in a declarator.
+ * This is C++'s reference operator, i.e. &, used in a declarator.
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface ICPPASTReferenceOperator extends IASTPointerOperator {
/**
- * Returns whether the operator denotes a rvalue reference (e.g. int &&
).
+ * Returns whether the operator denotes a rvalue reference (e.g. int &&
).
* @since 5.2
*/
public boolean isRValueReference();
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTStructuredBindingDeclaration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTStructuredBindingDeclaration.java
index 8eff34af474..ff6b95412ff 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTStructuredBindingDeclaration.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTStructuredBindingDeclaration.java
@@ -32,8 +32,8 @@ import org.eclipse.jdt.annotation.Nullable;
* Examples:
*
*
*
* @since 6.9
@@ -64,8 +64,8 @@ public interface ICPPASTStructuredBindingDeclaration
* Examples:
* auto [x, y]{coordinate};
auto & [x, y](coordinate);
auto && [x, y] = createCoordinte();
auto & [x, y](coordinate);
auto && [x, y] = createCoordinte();
*
*
* @return The returned auto [x, y] = coordinate;
it returns the empty Optional
auto & [x, y] = coordinate;
it returns Optional.of(RefQualifier.LVALUE)
auto && [x, y] = createCoordinte();
it returns Optional.of(RefQualifier.RVALUE)
auto & [x, y] = coordinate;
it returns Optional.of(RefQualifier.LVALUE)
auto && [x, y] = createCoordinte();
it returns Optional.of(RefQualifier.RVALUE)
RefQualifier
of the C++ declaration or null
if there is no reference qualifier.
@@ -78,7 +78,7 @@ public interface ICPPASTStructuredBindingDeclaration
/**
* Returns the list of names declared by this structured binding declaration.
* auto & [x, y] = coordinate;
it returns the names x
and y
.
+ * Example: For auto & [x, y] = coordinate;
it returns the names x
and y
.
*
* @return All declared names of the structured binding asIASTName[]
* @see IASTName
@@ -93,8 +93,8 @@ public interface ICPPASTStructuredBindingDeclaration
* * Examples:
*
*
*
* @return The auto [x, y]{coordinate};
it returns an ICPPASTInitializerList
auto & [x, y](coordinate);
it returns an ICPPASTConstructorInitializer
auto && [x, y] = createCoordinte();
it returns an IASTEqualsInitializer
auto & [x, y](coordinate);
it returns an ICPPASTConstructorInitializer
auto && [x, y] = createCoordinte();
it returns an IASTEqualsInitializer
IASTInitializer
of this structured binding. It can be null
if the C++ declaration is lacking an initializer.
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTTemplatedTypeTemplateParameter.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTTemplatedTypeTemplateParameter.java
index 6d0d382ec0a..815f040651f 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTTemplatedTypeTemplateParameter.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTTemplatedTypeTemplateParameter.java
@@ -21,7 +21,7 @@ import org.eclipse.cdt.core.dom.ast.IASTNameOwner;
/**
* This is a template template parameter as V
in
- * template<template<typename T> class V> class CT;
+ * template<template<typename T> class V> class CT;
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPClassTemplatePartialSpecialization.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPClassTemplatePartialSpecialization.java
index e2413572319..d543fbe93b2 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPClassTemplatePartialSpecialization.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPClassTemplatePartialSpecialization.java
@@ -19,8 +19,8 @@ package org.eclipse.cdt.core.dom.ast.cpp;
* a class template in its own right.
*
* E.g.:
- * template
* foo:
- * void *labelPtr = &&foo;
+ * void *labelPtr = &&foo;
* goto *labelPtr;
*
*
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/c/ICASTKnRFunctionDeclarator.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/c/ICASTKnRFunctionDeclarator.java
index 2d1f46dca31..b198908968b 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/c/ICASTKnRFunctionDeclarator.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/c/ICASTKnRFunctionDeclarator.java
@@ -20,14 +20,14 @@ import org.eclipse.cdt.core.dom.ast.IASTFunctionDeclarator;
import org.eclipse.cdt.core.dom.ast.IASTName;
/**
- * This is the declarator for a K&R C Function.
+ * This is the declarator for a K&R C Function.
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface ICASTKnRFunctionDeclarator extends IASTFunctionDeclarator {
/**
- * PARAMETER_NAME
refers to the names qualified in a K&R C
+ * PARAMETER_NAME
refers to the names qualified in a K&R C
* function definition.
*/
public static final ASTNodeProperty PARAMETER_NAME = new ASTNodeProperty(
@@ -35,7 +35,7 @@ public interface ICASTKnRFunctionDeclarator extends IASTFunctionDeclarator {
/**
* FUNCTION_PARAMETER
represents the relationship between an
- * K&R function declarator and the full parameter declarations.
+ * K&R function declarator and the full parameter declarations.
*/
public static final ASTNodeProperty FUNCTION_PARAMETER = new ASTNodeProperty(
"ICASTKnRFunctionDeclarator.FUNCTION_PARAMETER - Full K&R Parameter Declaration"); //$NON-NLS-1$
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/cpp/IGPPASTBinaryExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/cpp/IGPPASTBinaryExpression.java
index cc33507d0e4..6f08087359f 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/cpp/IGPPASTBinaryExpression.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/cpp/IGPPASTBinaryExpression.java
@@ -24,12 +24,12 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTBinaryExpression;
*/
public interface IGPPASTBinaryExpression extends ICPPASTBinaryExpression {
/**
- * op_max
represents >?
+ * op_max
represents >?
*/
public static final int op_max = IASTBinaryExpression.op_max;
/**
- * op_min
represents
+ * op_min
represents <?
*/
public static final int op_min = IASTBinaryExpression.op_min;
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/AbstractScannerExtensionConfiguration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/AbstractScannerExtensionConfiguration.java
index 810288e77af..61d4860740f 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/AbstractScannerExtensionConfiguration.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/AbstractScannerExtensionConfiguration.java
@@ -155,7 +155,7 @@ public abstract class AbstractScannerExtensionConfiguration implements IScannerE
* The macro can either be of object- or of function-style.
*
* Example:
- * addMacro("max(a,b)", "(((a)>(b) ? (a) : (b))");
+ * addMacro("max(a,b)", "(((a)>(b) ? (a) : (b))");
*
* @param signature the signature of the macro, see {@link IMacro#getSignature()}.
* @param value the macro value
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/c/ICParserExtensionConfiguration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/c/ICParserExtensionConfiguration.java
index 132722b448e..0a66ebee486 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/c/ICParserExtensionConfiguration.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/c/ICParserExtensionConfiguration.java
@@ -67,9 +67,9 @@ public interface ICParserExtensionConfiguration {
public boolean supportAlignOfUnaryExpression();
/**
- * Support for Kernighan and Richie (K&R) C.
+ * Support for Kernighan and Richie (K&R) C.
*
- * @return true
if support for K&R C should be enabled
+ * @return true
if support for K&R C should be enabled
*/
public boolean supportKnRC();
@@ -101,7 +101,7 @@ public interface ICParserExtensionConfiguration {
/**
* Skips information in brackets provided at the beginning of a parameter declaration:
*
- * void accelerate([proc=marsh] const Speed &data);
+ * void accelerate([proc=marsh] const Speed &data);
* @since 5.1
*/
public boolean supportParameterInfoBlock();
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/cpp/ICPPParserExtensionConfiguration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/cpp/ICPPParserExtensionConfiguration.java
index 4694648664d..6865ec253c4 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/cpp/ICPPParserExtensionConfiguration.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/parser/cpp/ICPPParserExtensionConfiguration.java
@@ -92,9 +92,9 @@ public interface ICPPParserExtensionConfiguration {
public boolean supportAlignOfUnaryExpression();
/**
- * Support for Kernighan and Richie (K&R) C.
+ * Support for Kernighan and Richie (K&R) C.
*
- * @return {@code true} if support for K&R C should be enabled
+ * @return {@code true} if support for K&R C should be enabled
*/
public boolean supportKnRC();
@@ -123,7 +123,7 @@ public interface ICPPParserExtensionConfiguration {
/**
* Skips information in brackets provided at the beginning of a parameter declaration:
*
- * void accelerate([proc=marsh] const Speed &data);
+ * void accelerate([proc=marsh] const Speed &data);
* @since 5.1
*/
public boolean supportParameterInfoBlock();
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/rewrite/MacroExpansionExplorer.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/rewrite/MacroExpansionExplorer.java
index eb404c83eca..0b97e11e9f9 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/rewrite/MacroExpansionExplorer.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/rewrite/MacroExpansionExplorer.java
@@ -88,7 +88,7 @@ public abstract class MacroExpansionExplorer {
/**
* Returns a description for the requested step within the expansion of the region of this
* expansion explorer.
- * @throws IndexOutOfBoundsException if step < 0 or step >= getExpansionStepCount().
+ * @throws IndexOutOfBoundsException if step < 0 or step >= getExpansionStepCount().
*/
public abstract IMacroExpansionStep getExpansionStep(int step) throws IndexOutOfBoundsException;
}
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/export/AbstractExportProjectProvider.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/export/AbstractExportProjectProvider.java
index 42c97a279b6..ce70474f8d0 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/export/AbstractExportProjectProvider.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/export/AbstractExportProjectProvider.java
@@ -61,7 +61,7 @@ public abstract class AbstractExportProjectProvider implements IExportProjectPro
* Returns a mapping from string option to parameter string list
*
* For example, if -option p1 p2 p3 appears on the command line, then
- * the mapping option=>[p1,p2,p3] will be present in the map
+ * the mapping option=>[p1,p2,p3] will be present in the map
* @return a mapping from string option to parameter string list
*/
protected Map
* <view>
- *     <verticalHint>top</verticalHint>
- *     <horizontalHint>left</horizontalHint>
+ * <verticalHint>top</verticalHint>
+ * <horizontalHint>left</horizontalHint>
* </view>
*
*
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ISourceFinder.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ISourceFinder.java
index b2f6a296e98..41659fa11ac 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ISourceFinder.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ISourceFinder.java
@@ -30,8 +30,8 @@ import org.eclipse.core.runtime.IAdaptable;
*
- *
*
* namespace foospace {
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/IndentManipulation.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/IndentManipulation.java
index 4a6c3d17e29..2af58f14418 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/IndentManipulation.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/formatter/IndentManipulation.java
@@ -176,7 +176,7 @@ public final class IndentManipulation {
/**
* Removes the given number of indentation units from a given line. If the line
* has less than the given indent, all the available indentation is removed.
- * If
indentsToRemove <= 0
the line is returned.
+ * If indentsToRemove <= 0
the line is returned.
*
* @param line the line to trim
* @param tabWidth the width of one tab in space equivalents
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/IPathEntryVariableManager.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/IPathEntryVariableManager.java
index 24b78f8302e..b24812532d8 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/IPathEntryVariableManager.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/IPathEntryVariableManager.java
@@ -115,13 +115,13 @@ public interface IPathEntryVariableManager {
*
null
diff --git a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/CreateResourceIdentifier.java b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/CreateResourceIdentifier.java
index 9610fb333de..a82a236481d 100644
--- a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/CreateResourceIdentifier.java
+++ b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/CreateResourceIdentifier.java
@@ -22,7 +22,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
/**
* Creates a template macro value that can be used as a pseudo-unique resource identifier.
* It is based on the name of the application and is in the form of four capital letters.
- * e.g. Helloworld => HELL
+ * e.g. Helloworld => HELL
*/
public class CreateResourceIdentifier extends ProcessRunner {
diff --git a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/SetEnvironmentVariable.java b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/SetEnvironmentVariable.java
index 6054a2d8124..90e63841108 100644
--- a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/SetEnvironmentVariable.java
+++ b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/SetEnvironmentVariable.java
@@ -36,15 +36,15 @@ import org.eclipse.core.runtime.IProgressMonitor;
* A template process for setting an environment variable in all of the new project's
* build configurations. E.g.,
* - * <process type="org.eclipse.cdt.core.SetEnvironmentVariable"> - * <simple name="projectName" value="$(projectName)"/> - * <complex-array name="variables"> - * <element> - * <simple name="name" value="QMAKE"/> - * <simple name="value" value="$(qmake)"/> - * </element> - * </complex-array> - * </process> + * <process type="org.eclipse.cdt.core.SetEnvironmentVariable"> + * <simple name="projectName" value="$(projectName)"/> + * <complex-array name="variables"> + * <element> + * <simple name="name" value="QMAKE"/> + * <simple name="value" value="$(qmake)"/> + * </element> + * </complex-array> + * </process> ** This will create an environment variable called "QMAKE" and will set the value to * be the value entered in a field (called qmake) in the New Project wizard. diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/CommandLineUtil.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/CommandLineUtil.java index bac39b20cb6..5d91d7faa10 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/CommandLineUtil.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/CommandLineUtil.java @@ -50,11 +50,11 @@ public class CommandLineUtil { * Parsing arguments in a shell style. i.e. * *
- * ["a b c" d] -> [[a b c],[d]] - * [a d] -> [[a],[d]] - * ['"quoted"'] -> [["quoted"]] - * [\\ \" \a] -> [[\],["],[a]] - * ["str\\str\a"] -> [[str\str\a]] + * ["a b c" d] -> [[a b c],[d]] + * [a d] -> [[a],[d]] + * ['"quoted"'] -> [["quoted"]] + * [\\ \" \a] -> [[\],["],[a]] + * ["str\\str\a"] -> [[str\str\a]] ** * @param line @@ -166,11 +166,11 @@ public class CommandLineUtil { * Parsing arguments in a cmd style. i.e. * *
- * ["a b c" d] -> [[a b c],[d]] - * [a d] -> [[a],[d]] - * ['"quoted"'] -> [['quoted']] - * [\\ \" \a] -> [[\\],["],[\a]] - * ["str\\str\a"] -> [[str\\str\a]] + * ["a b c" d] -> [[a b c],[d]] + * [a d] -> [[a],[d]] + * ['"quoted"'] -> [['quoted']] + * [\\ \" \a] -> [[\\],["],[\a]] + * ["str\\str\a"] -> [[str\\str\a]] ** * @param line diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/cdtvariables/CdtVariableResolver.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/cdtvariables/CdtVariableResolver.java index b5ec1ec381e..2138b69dfd1 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/cdtvariables/CdtVariableResolver.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/cdtvariables/CdtVariableResolver.java @@ -69,7 +69,7 @@ public class CdtVariableResolver { /** * Converts list of strings to one string using given string as delimiter, - * i.e -> "string1:string2:string3" + * i.e -> "string1:string2:string3" * * @param value - list of strings to convert. * @param listDelimiter - delimiter.