CDT has two representations for a pointer type wrapped in a
qualifier type: it can be an IPointerType with some qualifiers
set on it directly, or an IPointerType wrapped in an
IQualifierType. (We prefer the first representation to avoid
creating too many wrappers, but sometimes the second one arises
during template instantiation.) This patch makes sure that two
such types can compare equal even if they use different
representations.
Change-Id: Ia8c7d227c74378aae74f04545b9a69103c14e74b
The position of namespaces didn't take into account because the
declaration doesn't exist yet when we use this kind of refactoring,
so the find method of MethodDefinitionInsertLocationFinder didn't
look for namespaces.
Change-Id: I839194879c41f86653c837ca83a306ea1840c1d0
(cherry picked from commit d36ed7cfd5)
When using -ffunction-section, each function is placed in it's own
section name. For example the main() function would be placed in
.text.main, so the pattern looking for undefined references needs to
allow the extra dot there.
Since C++ will use other symbols than what's included in \w, lets allow
everything except a + sign and whitespace.
Change-Id: I66d9ee7d8cbc0a405e60d7cdeb43c38b30107245
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
(cherry picked from commit 36de92cc77)
In commit f69a613d72, a check for null and
0-length array was introduced, but the checks is not reliable unless the
checked value is later used.
Change-Id: Ifc32b369514ee03eeea21281a7af80616531af87
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Straightforward conversion. Still usages left that need deeper
investigation how to be done proper.
Some long time commented code removed as java formatter breaks trailing
whitespaces on save.
Change-Id: If74259bed5735b0d4cc98fc2cfa609c9c53c80c9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Default ARCH = x86_64 as x86 is no longer built nor needed.
Change-Id: Id1d0dc6b0b29438cc200d614cb3add55c8eb40f1
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
When the user selects the second wizard page was forced to use
a no empty variable name, however it's possible the parameter won't
be used and the user wants to have a matching signature. Removed
the check. The parameter name is still automatically set if the user
click directly on "Finish" button.
Change-Id: I665220b72d7b04b4bc89ffd5d764771cdfa8b243
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
If the correct namespace existed before the refactoring in the
translation unit, refactoring process just ignored it.
Change-Id: I9d6bd301807bb2d3f83f74ef772395d3470cf8bd
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
If an enum, a struct or a class is defined inside a class, the
implementation must qualify the declaration specifier.
Change-Id: I1e9450c7b165a25c4a745c50fe2e0c06e28775d0
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Added org.eclipse.cdt.internal.ui.dialogs.DocCommentOwnerArea
Deprecated org.eclipse.cdt.ui.dialogs.DocCommentOwnerComposite
and marked it for deletion
Change-Id: I6ec1266fa0a7bce2e3fee43d1c4c2c0b3ba11ef7
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Reworked usages of DocCommentOwnerCombo and marked it for deletion
Change-Id: Ic1bfbcdb12512be0d2eed1ae93d454d7f1e5668f
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Part 2 (please refer to the Bug 559193 regarding the reasons to rework):
- Doxygen option read-only API for clients
- Doxygen option storage API for configuration UI
- OSGi component for Doxygen API implementation
Change-Id: Ia97ade397f1040087898aeb3b50872473d3c0631
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
The implementation of methods with parameter declaration or with
template template parameters didn't work.
Change-Id: I783dedc5ffecd6721293d52f13548fd9e73999bc
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
If a variable is in a decl type specifier can't be evaluated as
written.
Change-Id: If78a567dab99e55c78e16c3b7f10c45bbd0a0606
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Part 1 for "Rework DoxygenPreferences to encapsulate constants" (please
refer to the Bug 559193 regarding the reasons to rework):
- option metadata API
- option storage API
- Preference-based storage
- tests for added types
Change-Id: If6f2caa4c8e659497b0e95c00ec959a9888998d7
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Reworked UI code to its natural contract.
Switched java 8 to compact the code
Encapsulated scope inside the DoxygenPreferences
Change-Id: I534b8d4f7c2d6e7674b132a10ef3514e61f2c1ed
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Choice is one of:
Kichwa Coders Ltd
Kichwa Coders Canada Inc.
depending if contributed by UK or Canadian company
Change-Id: I5c9fb96ea6abf97858a6896911a71fa68b8400b1
As part of trying to migrate SubProgressMonitor -> SubMonitor this code
was identified as being unreachable. As this dead code had a lot of
SubProgressMonitor it seems more suitable to just delete the dead
code rather than migrate it to SubMonitor API.
Change-Id: Idb9f96cb0d83ba0e7f617fab3bb6397e93824bba
Added autogeneration of documentation for template parameters,
exception speficiation.
Prepare Doxygen class to manage class names, struct names, union names
enum names and preprocessor define.
Change-Id: Id8689eac209cc509196a7c87ee286bb3e7c49e67
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Support optional template type specification of return type in method
declaration deduction.
Change-Id: Ibaa5d5128faefb0b95534918ba9980bd8449b851
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>