From f0ded0383ceda983f555dbdb6b4479446b4e4fef Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sat, 26 Mar 2011 22:50:34 +0000 Subject: [PATCH] Cosmetics. --- .../internal/core/dom/parser/cpp/CPPASTTranslationUnit.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTTranslationUnit.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTTranslationUnit.java index dca3ec00c5e..7bde5f7f289 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTTranslationUnit.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTTranslationUnit.java @@ -69,12 +69,12 @@ public class CPPASTTranslationUnit extends ASTTranslationUnit implements ICPPAST private void addBuiltinOperators(CPPScope theScope) { // void IType cpp_void = new CPPBasicType(Kind.eVoid, 0); - // void * + // void* IType cpp_void_p = new CPPPointerType(new CPPQualifierType(new CPPBasicType(Kind.eVoid, 0), false, false), new CPPASTPointer()); // size_t // assumed: unsigned long int IType cpp_size_t = new CPPBasicType(Kind.eInt, IBasicType.IS_LONG & IBasicType.IS_UNSIGNED); - // void * operator new (std::size_t); + // void* operator new(std::size_t); IBinding temp = null; IType[] newParms = new IType[1]; newParms[0] = cpp_size_t; @@ -84,7 +84,7 @@ public class CPPASTTranslationUnit extends ASTTranslationUnit implements ICPPAST temp = new CPPImplicitFunction(OverloadableOperator.NEW.toCharArray(), theScope, newFunctionType, newTheParms, false); theScope.addBinding(temp); - // void * operator new[] (std::size_t); + // void* operator new[](std::size_t); temp = null; temp = new CPPImplicitFunction(OverloadableOperator.NEW_ARRAY.toCharArray(), theScope, newFunctionType, newTheParms, false); theScope.addBinding(temp);