Without setting dependent plug-ins to minimum version to match the
target platform we are aiming for we can imply (and therefore let install)
CDT into older versions of Eclipse where CDT does not actually work.
This can be exposed in very odd ways, such as IllegalAccessError, when
platform has allowed API changes.
However, rather than update every single bundle in CDT, only the
o.e.cdt.core/ui bundles are being updated as this should achieve the
desired result without every other bundle needing to be touched.
See Bug 536448
Change-Id: I1c8f102a9a750e40970197da3e6cd56d139492bc
Methods weren't added if the virtual methods were in a base
template class.
Change-Id: I34b05eeb1e7dc5ce83944a642461eca521764967
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
It's now possible to select among four options for the
implementation of single method stub: delete, default, inline
or definition.
Change-Id: I9aac9c53a5a7143235d0f2f447b8d22fa2e2c839
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
The testLeakingInstanceAfterClose test relied on some weird
behaviour of an earlier test (testScalabilityDialogNotDismissedInadvertently_417909)
which had the effect of opening the editor window without the
welcome screen. This change makes that explicit and adds a little
bit of logging to identify why the testLeakingInstanceAfterClose
test may sometimes fail.
I have also increased the maximum time allowed before the test timesout.
Change-Id: I3433ccf1fc02cff76eeb278d05fee082157ca49c
The caches used to be thread-local, but that did not survive the
refactoring in bug 512297. This patch makes them thread-local again.
Change-Id: Iffe37aef292e4efb05e30af2a251a71fb57b343d
Resolution for DR1591 clarified that initializer list size could be used
to deduce array size (if it is a template parameter).
Change-Id: Ic3617e31b125083f1205f91383eb27f5e5a29041
Signed-off-by: Davin McCall <davmac@davmac.org>
Protects for infinite recursion in case the type (illegally) aggregates itself.
Change-Id: I2e70f85a73b3d2ed6fec432fa2f768f2bcf8d1bf
Signed-off-by: Hannes Vogt <hannes@havogt.de>
- Adds getNoexceptSpecifier() to ICPPFunctionType, returning the
evaluation for the noexcept specifier.
- Adds isNoexcept() to ICPPEvaluation, which returns the result of
applying the noexcept operator to the evaluation.
- Empty throw() specifier is treated as noexcept(true).
- Improves EvalTypeID.isConstantExpression() for conversions.
Change-Id: I4c6418aea21bb258693b33d956bc3745918f3759
Signed-off-by: Hannes Vogt <hannes@havogt.de>
- order build config names so when clean for a project goes through
the build configs, it finds the active one last and thus it will
appear in the CDT build console
- do this in CoreBuildLaunchbarTracker.setActiveBuildConfig()
- do this in CBuildConfiguration.setActive()
- do this in CoreBuildLaunchConfigDelegate.buildForLaunch()
Change-Id: I379d6c9ba298f02cbc75d16e9941527cd2f9f45c
- fix CBuildConfigurationManager createBuildConfiguration to always
ensure "" is added to the build configuration names so future references
to Local will find the default build configuration in the
ProjectDescription
Change-Id: If15dde12befe060b4eb7c0ba2a2aeabbc1089ffa
- synchronized core build project description
manipulations using CoreModel as synchronization
class
Change-Id: Ic1312d5819ddc08acb492f57a2d87f1998329805
Rules used:
1) Default is right alignment to be compliant with built-in formatter
rules;
2) Pointer with declarator without name will be always left alignment
unless there's a nested declarator;
3) Return value of methods/functions is always left alignment;
4) If left alignment is selected, if space after comma is selected too
for a declaration list, space is always forced after the comma.
Change-Id: I82d5ad130e665e5357644cc59655a558f3fb732f
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Local scanner was peeking tokens from inactive regions confusing
the formatter.
Change-Id: I5975ec1042474be84b897e047a1e59cfc8bfa083
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
The option was already used but there wasn't any widget in the UI
to let user change it.
Change-Id: Ib8795468cc83b89bb3ef9676a5e0ed3f288d55da
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Create deferred functions for constructor calls with dependent
arguments.
Change-Id: I007dd4fd12c13acdcb39225b73051589f6dafad3
Signed-off-by: Hannes Vogt <hannes@havogt.de>
Fix keybinding so that is doesn't conflict with "Last edit location"
Change-Id: I75ab9ad4a46e64808cbe4f71dfa95f75fc20780e
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
Previously, all variables with an initial value (even non-const)
were treated as constant expressions, now only constexpr variables,
static const members and global const variables are treated as constant expression.
Change-Id: I2acb4033a1f75110302ea25640afb070d025ec2b
Signed-off-by: Hannes Vogt <hannes@havogt.de>
Init list was always on new lines regardless user input about new line
policy or wrapping policy.
Change-Id: I1ac85611129c23e89d9b299ca87ced314ad542f3
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Search background color will be now taken from:
Preferences > General > Appearance > Color and Fonts > Match highlight
background color
so it will look good on both default and dark theme.
Change-Id: I2800b6cd3ac651cda577cc533149f0ead0fa75f3
Signed-off-by: Tomasz Rojek <me@tomrosystems.com>