1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

24291 commits

Author SHA1 Message Date
Nathan Ridge
ad2940f594 Bug 475739 - Follow-up to fix some warnings related to deprecation
Change-Id: I400de3448d615cef6adea5035ed24e66490819d4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 21:47:36 -05:00
Nathan Ridge
fe5aea4644 Bug 484824 - Disallow initializers in type-ids in C code
This was already disalowed in C++ code previously.

Change-Id: I17f0b19253394896a980e2bbeb610bbbf266d012
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 21:47:12 -05:00
Nathan Ridge
f69b77089b Bug 467332 - Disambiguation inside noexcept-specifier
Change-Id: I5bc7378bd050f3c13753dc98970c4e510f53caf5
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 21:46:30 -05:00
Nathan Ridge
2308f972e2 Bug 383502 - Injected-class-names of different instances of the same
template found in different base classes

Change-Id: I4eed0443e95ca388a771f158ba16ec27298f7afb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 19:56:57 -05:00
Nathan Ridge
6b58a751bb Bug 462764 - Avoid infinite recursion when storing function instance in
index

Change-Id: I922b741e62013941753114ea5c17f401093f18f3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 15:13:38 -05:00
Nathan Ridge
b0d66aa777 Fix an "unsafe method call" error.
Change-Id: I174b14358cdf4252dfb5293c4b86ecfe873fb845
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 15:13:24 -05:00
Sergey Prigogin
03e0264fc1 Bug 477556 - Protect against NPE in ASTTranslationUnit.getAdapter
Change-Id: Ic8b101f6e298fd24277b27b3a43dab63b7c5410b
2015-12-28 20:16:14 -08:00
Christian Walther
8640070d4b Bug 484955 - Provide serial.port.file property, needed for SAM boards.
a6e36fac9d/hardware/arduino/sam/platform.txt (L102)
uses this property because the bossac tool expects a serial port name
without the leading "/dev/".

Copied from how the Arduino IDE does this in
a6e36fac9d/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java (L148)
.

Change-Id: I17b2556cab3ad7fba00e03171881f6459cf97826
Signed-off-by: Christian Walther <walther@indel.ch>
2015-12-28 22:12:40 -05:00
Marc-Andre Laperle
c29c9bc057 Bug 382746 - Adding C/C++ nature for C Project impossible
This patch modifies the wizard so that the C projects also show in the
list of projects.
- If a given C project is selected and the C nature is selected, the
project is not modified.
- If a given C project is selected and the C++ nature is selected, the
C++ nature is added and project type and toolchain selection have no
effect because it is assumed that the project type and toolchain had
already been setup before hand.
- Old-style projects (CDT 3.0) are not converted anymore.
Unchanged behavior:
- C++ projects never show in the list of projects. Removing nature is
(still) unsupported.
- Non-CDT project behave as they use to.

Change-Id: Ie6282c11d90c42d21ecad2996ab49ebd64c38ece
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-28 13:43:42 -05:00
Marc-Andre Laperle
1c258538de Remore unused New New Wizard
This code is not used and hasn't been touched since 2012.
Now it can be referred as the "old new new wizard".

Change-Id: Iccc60651a8233a5ef5b138dfcc334cfcf926d109
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-28 13:20:43 -05:00
Sergey Prigogin
00e7081b17 Moved to JDK 1.8.
Change-Id: I415625d3cebe3ff38454bd6722c31da07eb466c4
2015-12-27 21:41:01 -08:00
Sergey Prigogin
744765be6f Cosmetics.
Change-Id: Ie36a0936b72f053fe557b4ae6e57bf52ee4aa8f4
2015-12-27 16:24:40 -08:00
Sergey Prigogin
f1bcff300c Cosmetics. 2015-12-27 14:34:49 -08:00
Nathan Ridge
e667b2631c Bug 484899 - Navigation to inherited constructor
Change-Id: I3ce24f3fb70e50b50757900c5ccb372abd855dfc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-26 23:25:13 -05:00
Nathan Ridge
f82660f14c Bug 416748 - Improve semantic highlighting for alias templates
Change-Id: Ic0d0110133a4732cace07d19e995e7c51b5538e3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-26 19:24:25 -08:00
Nathan Ridge
60e390b0e4 Bug 484618 - Implicit names for calls to user-defined literal operators
Change-Id: I15df0f5729b5c4ba6c557789be5db56baaf3afbc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-26 14:59:45 -05:00
Nathan Ridge
2cc3e248b4 Move assertInstance() up from AST2TestBase to BaseTestCase
Change-Id: Ibe45d247f6f027691625a04fcc8971f84e2764a7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-25 20:08:55 -05:00
Sergey Prigogin
102c7b58cf Revert "Bug 484618 - Implicit names for calls to user-defined literal
operators"

This reverts commit 7059bfb0ea.

Change-Id: I99c73e4655a29b1e06e8b709451f939175b80031
2015-12-24 13:20:05 -08:00
Nathan Ridge
458d7f2ed1 Bug 479142 - Show correct override marker when multiple overloads in a
base class are overridden in a derived class

Change-Id: If31925a5fbffe1425d22894fdff762ef1c733f25
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-24 15:04:12 -05:00
Nathan Ridge
54e9a84673 Rename ICPPEvaluation.getTypeOrFunctionSet() to getType().
getTypeOrFunctionSet() is an unwieldy name, and since the return type
is IType, it seems reasonable to call the function getType().

Change-Id: I7e3211fdd3b474cc8e33da3e1f398b58122fe89d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:30:50 -05:00
Nathan Ridge
59de5c303f Bug 484619 - Make sure ProblemBindingChecker reports unresolved
user-defined literal operators

Change-Id: Idbb157c33b3aae06a00a10f7e7836e96db9f9b63
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:30:15 -05:00
Nathan Ridge
8ceb33a1fc Bug 484617 - Test highlighting of user defined literal suffix
Change-Id: I8647077131e2d210d23dcd1ad591e864511c7b8e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:26:37 -05:00
Nathan Ridge
7059bfb0ea Bug 484618 - Implicit names for calls to user-defined literal operators
Change-Id: I4eaa320646c772f8321bca1f09cfe32a95eb0e59
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:09:43 -05:00
Nathan Ridge
ff6a07a124 Bug 480648 - Implement DR 1473
This allows user-defined literal operator definitions with no space
between the "" and the identifier.

Change-Id: I1233a2a6554b9baf82a4e91d60f603453fe06a04
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 21:39:05 -05:00
Sergey Prigogin
5b532b0fd2 Bug 484786 - Name resolution problem with variadic alias template
Change-Id: If413f0241cbcf1164cb61e9fcaf371b9f899c56b
2015-12-22 15:21:47 -08:00
Matthew Bastien
0027b29aba Bug 481126 - Walk QML Types AST
Added several classes that can be used to aggregate all of the
information from within a .qmltypes file as defined by
http://doc.qt.io/qt-5/qtqml-modules-qmldir.html#writing-a-qmltypes-file

Change-Id: Ia36c3bb1a4a0254c4125733d6faabbb5a4606133
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-12-22 15:04:28 -05:00
Sergey Prigogin
c68dc46f54 Removed a duplicate built-in function definition.
Change-Id: Ic3291375188e3c5ebd9ce452782c65c2fb00e286
2015-12-21 16:10:49 -08:00
Sergey Prigogin
188b2d1ce5 Cosmetics. 2015-12-20 11:49:06 -08:00
Sergey Prigogin
34ddaa4f6d Code streamlining.
Change-Id: I1a5edfbc9fef2772ecca67afc711e4a1893ae714
2015-12-20 11:15:42 -08:00
Sergey Prigogin
9a576557ed Removed an unused method.
Change-Id: Ia49cb3b968061c5e23d2ab10925bde85ffd5350c
2015-12-18 17:53:07 -08:00
Sergey Prigogin
2356094497 Cosmetics.
Change-Id: Ib2caefa5406ea94fe1eec61138193c79fd0f608b
2015-12-18 17:51:33 -08:00
Alexander Kurtakov
07488984d9 autotools: Tests improvements.
* assertNotNull instead of assertTrue(var != null)
* better types for swtbot api to prevent useless casts after that
* LanguageSettingsManager.getLanguages instead of deprecated api
* assertFalse instead of assertTrue(!var)


Change-Id: Icdde01f10617b6ec51938bc1998a690cfe7ff1d4
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-18 09:06:26 -05:00
Alexander Kurtakov
76f53cecce autotools: Add api filters for implementing make bundles interfaces.
Change-Id: Id8cffb0df983e6e5e2a752aac0aea5b66cf4bee2
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-18 08:12:08 -05:00
Alena Laskavaia
5218c3caf9 cleanup of ControlFlowGraph view
Change-Id: Ic6be0eedc1e66867efda2b437181da081b2234c0
2015-12-18 07:59:19 -05:00
Alexander Kurtakov
4f9dbedc0a autotools: Cosmetics
Try-with-resources for ErrorParserManager.

Change-Id: I5c36d3d68545cb50fcd416caefdc878212b57a88
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-18 13:21:25 +02:00
Alexander Kurtakov
e11035409f autotools: Creating default config doesn't need project.
AutotoolsConfigurationManager.createDefaultConfiguration doesn't need
the project as parameter, that's why it's default one :).

Change-Id: I55f39edf5867f874e38524042572329bc7e34f66
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-18 13:03:25 +02:00
Nathan Ridge
6c750f9289 Bug 484200 - Point of declaration of an alias or alias template
Change-Id: I068b5fd4cf7ae4458e515a5c26265f30abaf9ad8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-17 19:11:57 -05:00
Nathan Ridge
393d36fc3e Bug 475739 - Treat C++ alignment-specifiers as attribute-specifiers
Change-Id: Ib8024a048073efe65c26c871bb3acd0f3bf2f620
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-17 19:10:51 -05:00
Matthew Bastien
a43976b882 Bug 481126 - Convert Acorn AST into Java
Added the class QmlASTNodeHandler that creates and manages Proxy
instances of the QML AST node interfaces.  The proxies are created
dynamically based on what methods are called on the interface.  That
way, the AST is loaded as needed rather than all at once.  Added a few
tests to verify behavior (however, they are not comprehensive; there are
a lot more cases that should be verified in the future).

Change-Id: I64038f9668942a67e1f1b7dceac6c7dbed2d46d7
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-12-16 11:40:14 -05:00
Nathan Ridge
6266df700b Bug 484162 - Instantiation of friend of nested class inside template
Change-Id: I28377e20ce63c3e22ea561a98773e73484edf09a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-15 19:49:53 -05:00
Anton Leherbauer
cb172f9851 [disassembly] Do not reuse label position for creating bp annotation 2015-12-15 15:04:36 +01:00
Alexander Kurtakov
f616c9e74e autotools: Move tests using UI components to ui tests.
Change-Id: Ia23389578520c8e21223eb1f9d8e2291a453caf4
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-15 00:09:11 -05:00
mazab
c6dc02c94d Bug 438549 - Fixed a regression for parameterless functions and
re-enabled parameter guessing.

Change-Id: I4b6347999d675335c8e88f4bffed37fcef2e0bc3
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-12-14 19:38:06 -05:00
Sergey Prigogin
01589f6297 Cosmetics. 2015-12-14 15:51:08 -08:00
Matthew Bastien
84b5f4bfd2 Bug 480238 - QML AST in Java
Created a set of Interfaces to represent the JavaScript and QML Ast in
plain Java.  Updated acorn-qml to be able to parse the entirety of QML
syntax as specified by the QML grammar.  Also modified the QML AST to
represent the added syntax and modified tern-qml to handle the new AST
elements.

Changed the way that the QMLAnalyzer handles path resolution.  Paths are
now relative to the local file system.

Note: the normal acorn-qml parser cannot parse the full range of QML
syntax due to ambiguities.  However, the loose parser can.  We're still
waiting on Acorn to bring lookahead to the normal parser in order to
resolve this.

Change-Id: I77c820ad46301975b2a91969a656d428ad9409c1
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-12-14 11:13:52 -05:00
John Dallaway
e62e2772fe Bug 366039: Internal Builder reduced build step input resource count
Change-Id: I7c7c8ba5d1bf7b96bbef66449ea6470f3c266f98
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2015-12-14 10:30:43 -05:00
Marc Khouzam
5892f19747 Update GDB download script for 7.10.1
Also fix a bug where the script was
not ready for a two digit version.

Change-Id: Idd3322c46806705e33898a47c79d3ec3c9fc1685
2015-12-14 07:13:30 -05:00
Alexander Kurtakov
8a834d5970 Cleanups.
Remove useless:
* casts.
* suppress warnings unchecked.
* @see comments 

Change-Id: I4713e9ddf90195cf1e465b3743f5f0bc7e41d338
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-14 11:06:00 +02:00
Alexander Kurtakov
34281a96e0 autotools: Additional generification.
Properly generify now that o.e.text is generified. This alows removing a
number of suppressed warnings. In a few places it is better to use
wildcard than suppressing warnings.
Also remove DefaultNoDependencyCalculator as it was suppressing warnings
but better to remove directly as it's not use anywhere.

Change-Id: I70c4ac073ce5b6c2a45443372037fa61b7c36c76
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-14 08:49:09 +02:00
Alexander Kurtakov
af49d7701a Fix compilation with Neon M4.
Change-Id: Ia7f862540b14a2eec37804049d4cfb27e9f028e0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-13 20:32:35 +02:00