Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2009-10-06 05:58:08 +0000
committerSergey Prigogin2009-10-06 05:58:08 +0000
commit1c2270f0cb6f8a57c4df5246185723290adcc633 (patch)
treeb7e6f46acc2b74a268a7a1e5b344ffddd9e291dd /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPFunction.java
parentdbec91987b69c33a389a00fd49db55776af4ff3a (diff)
downloadorg.eclipse.cdt-1c2270f0cb6f8a57c4df5246185723290adcc633.tar.gz
org.eclipse.cdt-1c2270f0cb6f8a57c4df5246185723290adcc633.tar.xz
org.eclipse.cdt-1c2270f0cb6f8a57c4df5246185723290adcc633.zip
Cosmetics.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPFunction.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPFunction.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPFunction.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPFunction.java
index 374ac4289ff..a6e21efc89f 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPFunction.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPFunction.java
@@ -217,8 +217,7 @@ public class CPPFunction extends PlatformObject implements ICPPFunction, ICPPInt
final IBinding binding= name.resolveBinding();
if (binding instanceof IParameter) {
result[i]= (IParameter) binding;
- }
- else {
+ } else {
result[i] = new CPPParameter.CPPParameterProblem(p, IProblemBinding.SEMANTIC_INVALID_TYPE,
name.toCharArray());
}

Back to the top