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

12935 commits

Author SHA1 Message Date
Anton Leherbauer
0e382c064b Bug 476346 - Spawner.exec() fails after incomplete process termination 2015-09-02 10:57:25 +02:00
Doug Schaefer
6e6156e42f Add missing copyright notices. 2015-08-31 15:32:43 -04:00
Doug Schaefer
64c5782589 Bug 321443 - First implementation of new build model.
Includes adaptation of the Arduino build model where many of these
ideas started to the new model. And start of the Qt build system which
uses it.

Change-Id: Icb212185773ebc4d415e8a9862101744703ff80b
2015-08-31 14:14:21 -04:00
Sergey Prigogin
563ed95979 Cosmetics. 2015-08-24 13:29:05 -07:00
Alena Laskavaia
e8bba9e7b2 fixed ProblemMarkerInfo ignoring position info
Change-Id: I0f580be35ac5abec8a2f9f1aadec71f24b46a5ae
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-08-24 12:53:49 -04:00
Sergey Prigogin
5d54cc3996 Lazy initialization of LookupData.fTemplateArguments to avoid exceptions
in constructor.

Change-Id: I875233c7fe40ab4a56d9b76fb03c2e03441d29ae
2015-08-21 22:26:12 -04:00
Nathan Ridge
bea6a49e5b Bug 475006 - Fix a ClassCastException in OverrideIndicatorManager
Change-Id: I4ecdc242d2a94ade3cecb6f689c326a0e58078dd
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-21 21:49:47 -04:00
Sergey Prigogin
e781b4773a Cosmetics. 2015-08-19 13:14:03 -07:00
Andrew Gvozdev
f635f6c7d8 Bug 470538 - Build selected File(s) should create error/warning marker
Change-Id: I0f37e3733299ab0e0db262a0194c9734b39eea94
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-08-14 07:42:26 -04:00
Doug Schaefer
19629b7ab5 Much progress on the Arduino build system.
Change-Id: I437621ed8af02abddc05852bf6c1b62b50f17a25
2015-08-11 10:07:55 -04:00
Anton Leherbauer
64b26a87d5 Bug 474327 - Update winpty-agent.exe for Windows 10 2015-08-11 14:58:10 +02:00
Sergey Prigogin
fcc251f0b5 Cosmetics. 2015-08-10 17:06:34 -07:00
Thomas Corbat
7168d36c58 Bug 474020 - [ASTRewrite] Nested modifications are suppressed by macros
Added further check to isStatementWithMixedLocation return false if all
macro expansions are further enclosed in child statements.

Change-Id: Ida6994adbbf76674c37a4c1c214aeea79b4963f2
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-08-07 02:11:37 -04:00
Martin Stumpf
1386247a0e Bug 436041 - doxygen tags are not generated when using single line format /// or //!
Change-Id: I1c392d1ea360efcc62328ce1541a42439948706b
Signed-off-by: Martin Stumpf <stumpfpublic@gmail.com>
2015-08-05 15:22:59 +02:00
Sergey Prigogin
f6828f8daf Reverted "Bug 393717 - Have constructor definitions reference implicitly
called base constructors via implicit names"

Change-Id: Icb3614727b2da9ed8d0e97ee08c7d4ba7e6eef8d
2015-08-04 19:02:32 -07:00
Nathan Ridge
7237fa8ac6 Bug 473576 - If the enclosing element of a search result is a class
member, include the class name in the search view

Change-Id: Idbf86a22c9000328aecbab50f3f562f721bb64f6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:44:54 -04:00
Nathan Ridge
3b4d359fa6 Bug 473577 - If there are multiple markers on a line, give each one,
from top to bottom, a chance to handle a click

Change-Id: I294b5511e65dfe593dfbb58beda6888da1870779
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:44:30 -04:00
Nathan Ridge
0292fcf135 Bug 473578 - Include "..." in the signature of a vararg function in
element selection dialogs

Change-Id: I9d44e3067b07035df3a0c1ad8674bcc6c83e4add
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:43:31 -04:00
Sergey Prigogin
566dc53c92 Use the formatter line length for margin.
There is a similar change in JDT:
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=6d5249a7460d4eadb7933705626efb5fbb168d42
2015-08-03 11:38:37 -07:00
Nathan Ridge
a1cc0b1d07 Bug 447431 - Have ICPPASTSimpleTypeConstructorExpression reference the
called constructor via an implicit name

Change-Id: I8c1baf0bbe71d748e3849619613a74ea892db6ee
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 17:23:46 -04:00
Nathan Ridge
b82275a4c0 Bug 86654 - During binding resolution, replace virtual methods with
their final overrider where appropriate

Change-Id: I5d6ef9ca5cf8dd4461255ef59ee3384f5060ee4e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 16:49:12 -04:00
Nathan Ridge
cb7f0f3462 Bug 472615 - Instantiate alias template found as binding for template-id
in expression

Change-Id: I51aced984cfe87d4b2f2d4ebe359d65ce2845b6c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 13:08:06 -04:00
Nathan Ridge
95aa27858c Bug 389191 - NPE in CDocHover.getHoverInfo()
Change-Id: Ied3f42206a5af49577bc487b3c40a1b87a02cd02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 13:07:32 -04:00
Nathan Ridge
8af3f1df86 Bug 86654 - Cache final overrider maps in the AST
Change-Id: I33d79c160b7aa7b014042ea06e0b851abc9cb608
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 04:00:35 -04:00
Nathan Ridge
d9a2c02fbf Bug 86654 - Extract the final overrider analysis used by
SemanticQueries.getPureVirtualMethods() so it can be reused

Change-Id: I5a48bdc3111ac75f2c1ca4f5595fe86defd686b8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-24 18:09:03 -07:00
Nathan Ridge
b0d8f8d3f1 Bug 393717 - Have constructor definitions reference implicitly called
base constructors via implicit names

Change-Id: Ib42a44488c5f5851a227295f075f028ff1aa7ded
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-24 21:00:29 -04:00
Nathan Ridge
005d40d228 Bug 472950 - Account for the possibility of statements inside
expressions in some of the parser's heuristic checks

Change-Id: Ia91a00b91e0050838e990d1daad81b524816f8d0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-24 20:56:19 -04:00
Sergey Prigogin
4e6eb33e1f Cosmetics. 2015-07-22 22:12:24 -07:00
Thomas Corbat
f2a86c5b5e Replaced impossible instanceof check in ASTQueries:
It does not make sense for findTypeRelevantDeclarator to check whether
the innermost declarator (result) is of type IASTArrayModifier:
- There is no common subtype of IASTDeclarator and IASTArrayModifier.
- IASTArrayModifier are attached to IASTArrayDeclarators but they are
not resolved as nested declarators.
- Similar to the existence of pointer operators, the resolution of the
innermost type relevant declarator should stop at array declarators.

Change-Id: I9c3673f60a48245eb51ccc8cb94757b87abf0265
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-07-22 08:54:14 +02:00
Nathan Ridge
5623c39492 Bug 421544 - When searching for the target file for Toggle Source/Header,
prefer files closer to the origin file in the directory structure

Change-Id: I82a3c1dc3f09cecb69e07511dd5b8bed62676b6a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-19 12:21:15 -04:00
Wei Li
654c2999e1 Bug 405678 - fix "show references" not showing all references of a
strucuture field in mixed C and C++ code

Change-Id: Ie5c5f96e18d9b949c69fcf8f330e31fe8a9002da
Signed-off-by: Wei Li <wei.r.li@ericsson.com>
2015-07-13 18:14:29 -04:00
Sergey Prigogin
4646b8854f Fixed JavaDoc. 2015-07-13 14:17:32 -07:00
Sergey Prigogin
5f84bb8efa Cosmetics. 2015-07-13 14:13:09 -07:00
Nathan Ridge
6886023638 Bug 421823 - Heuristically resolve unknown bindings during 'Open
Declaration'

Change-Id: Id48769cae0ded784228780bbf60a30e7e990b073
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-13 14:06:37 -07:00
Nathan Ridge
001e2c82f0 Bug 421823 - Allow consumers other than content assist to perform
heuristic base class lookup

Change-Id: I8add635bb62a0241b7de9430a32f85499535085d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-13 16:54:53 -04:00
Nathan Ridge
28ed0a3d7a Bug 421823 - Move CPPSemantics.heuristicallyFindConcreteScopeForType()
into a new class HeuristicResolver

Change-Id: I4a4948aa101192d4d74b385360bd94129ed71307
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-13 13:52:23 -07:00
Nathan Ridge
515b275a48 Bug 472436 - Track whether an EvalID involves a pointer dereference
Change-Id: If09ff059180bd7bdc50a73d13377838a24ed121f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-13 15:41:22 -04:00
Nathan Ridge
df76958d18 Bug 472436 - Dependent field reference with pointer as field owner
Change-Id: I28ed13ac473249fe79800ae1a2361f87bacc156d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-13 15:37:25 -04:00
Nathan Ridge
17b4ad3d67 Bug 471907 - Correctly resolve 'typeof' inside a qualifier type in C
Change-Id: I96825ce0012f6fd86284ef2ac8643c31c0d29ae4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-12 02:24:01 -04:00
Nathan Ridge
f3141139f8 Bug 472101 - Do not include variables declared in the condition of an
if, while, or switch statement in the enclosing block scope

Change-Id: Idd90d85f705af11c84f31ca830eb86682a046b87
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-12 02:21:21 -04:00
Sergey Prigogin
e091732356 Minor API improvement.
Change-Id: Ie0b6ab44139c080dc5200c0a9c01cca0bbb9ca04
2015-07-10 16:44:55 -07:00
Karsten Thoms
5d37fc84c6 Bug 471103 Add caching for performance improvements of indexing process
Change-Id: I56d3dea7e159f99fad083c6965a409c26b8de747
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2015-07-10 15:26:46 -07:00
Sergey Prigogin
af52c9acc8 Cosmetics. 2015-07-10 15:23:32 -07:00
Nathan Ridge
ebe2262314 Bug 472199 - Give correct offset to name of unnamed template parameter
Change-Id: Ie668dd02827b9e9a9c5e02700937a48471facfe1
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-10 01:23:43 -04:00
Sergey Prigogin
037f64f533 Bug 472325 - Bindings defined in anonymous namespaces should always be
considered file-local

Change-Id: I7ec420269256a0790627eac2f0c9890b21e4c14c
2015-07-09 19:11:18 -07:00
Nathan Ridge
6ed25565a6 Bug 421823 - When a base class lookup runs into a deferred instance,
disambiguate between a method and a field

Change-Id: I03cf9aa55d79c6b9f2a96bf3cace36e706bfecfb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-09 17:00:30 -04:00
Nathan Ridge
a9a454f256 Bug 442325 - Add support for __has_feature
Change-Id: I6ebbf76f19d1edde0592df0053a74006d5684d9d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-09 15:13:16 -04:00
Sergey Prigogin
aea96f8c1b Cosmetics. 2015-07-09 12:05:33 -07:00
Sergey Prigogin
81668c89f0 Cosmetics. 2015-07-08 16:10:49 -07:00
Nathan Ridge
22fc52aff6 Bug 459181 - Do not persist the state of the 'Hide potential method
calls' and 'Hide read-only references' search filters across searches

Change-Id: I424515f896b4222c247315bc72738cc4070d9e65
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-08 14:10:57 -04:00