1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 02:36:01 +02:00
Commit graph

24176 commits

Author SHA1 Message Date
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
Dmitry Kozlov
2af7d6d592 Bug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid ignoring editor id set in SourceLookupResult
Change-Id: I83ef2c8b22cf7a4acef3ccd68b9785a57cb66981
Signed-off-by: Dmitry Kozlov <ddk@codesourcery.com>
2015-07-09 07:56:07 -04: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
Sergey Prigogin
5bf1d13887 Revert "Bug 421823 - When a base class lookup runs into a deferred instance, disambiguate between a method and a field"
This reverts commit a121f85c83.
2015-07-07 19:29:36 -07:00
Jeff Johnston
833003c99d Fix some missing test resources in qt and core tests.
Change-Id: I1a7a5749d668065e10935ad428259e5f5d476951
2015-07-07 18:02:33 -04:00
Nathan Ridge
ebd396e2fb Bug 471621 - Have CPPASTAlignmentSpecifier implement IASTAmbiguityParent
This is necessary because the expression inside the alignment specifier
may be an ambiguous expression.

Change-Id: Ibb38410fea21251d866ddc58de6dc29b73623732
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-07 15:59:38 -04:00
Nathan Ridge
f413507257 Revert an increase of test timeouts for debugging that was accidentally
committed

Change-Id: I58cfdc50ba8fb929a3cb37f60754209494e9fad3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-07 15:59:10 -04:00
Nathan Ridge
a121f85c83 Bug 421823 - When a base class lookup runs into a deferred instance,
disambiguate between a method and a field

Change-Id: Ib29f85822d11504a9f4c857083f275443ce6a832
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-07 15:09:12 -04:00
Nathan Ridge
7ece374afd Bug 408870 - Do not require a whitespace after 'operator' when searching
for an overloaded operator in the Search or Open Element dialogs

Change-Id: Idd0363cd2cb3d44a822fb2ebc34582feb2238022
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-07 15:08:12 -04:00
Nathan Ridge
4e90a96767 Bug 470943 - Binding of rvalue reference to temporary (core issue 1138)
Change-Id: I9524816b279e3f791535b11b54d475cf657fe64b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-07 15:05:12 -04:00
Marc-Andre Laperle
6730366662 Upgrade to Tycho 0.23.0
Change-Id: If46a379b55d533eb2d963f626ebadab6addd5135
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-07-07 13:43:47 -04:00
Richard Eames
795c418f10 Bug 379684 Support for User Defined Literals
This patch adds preliminary support for C++11 user defined literals:
* Syntax support
* Type deduction in expressions
* Template literal operators
* String literal concatenation

Change-Id: I8a9760036a2c8428295f0e1ffb4b519a0a2577c9
Signed-off-by: Richard Eames <eclipse@naddiseo.ca>
2015-07-07 00:38:55 -04:00
Johann Draschwandtner
b49fa67882 Bug 464008: CNavigatorContentProvider creates new CProject instance on every invocation
This sometimes leads to issues with Binaries node.

Change-Id: I8f5159c14a2e8056e229582c57878f3d35342d3e
Signed-off-by: Johann Draschwandtner <johann.draschwandtner@windriver.com>
2015-07-02 09:03:11 -04:00
Teodor Madan
a740576b78 Bug 456958 Disassembly view sometimes doesn't update after stepping
instructions

- set update pending to false when received a late disasm result and no
context is available.
- add some trace messages helping trace the issue

Change-Id: Ia0a98ef283e871d12de4f50bad89a8d2f4e4c887
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
2015-07-01 09:14:42 -04:00
Sergey Prigogin
6c203657df Cosmetics. 2015-06-30 14:11:00 -07:00
Sergey Prigogin
da940895a7 Cosmetics. 2015-06-26 15:33:36 -07:00
Sergey Prigogin
4efa08c95d Cosmetics. 2015-06-26 15:22:42 -07:00
Sergey Prigogin
fda80f2275 Cosmetics. 2015-06-26 15:10:49 -07:00
Sergey Prigogin
28167f47fc Improved testStringConcatenationWithMacro test. 2015-06-26 14:13:43 -07:00
Sergey Prigogin
54f1facfbe Cosmetics. 2015-06-25 20:10:28 -07:00
Sergey Prigogin
a8c1d14f8a Cosmetics. 2015-06-25 17:55:03 -07:00
Sergey Prigogin
814ee56c8a Run testStringConcatenationWithMacro test for both, C and C++. 2015-06-25 16:30:25 -07:00
ocagdas
6ab4145c56 Bug 468417
The '.d' files that are generated by CDT, contain 'file_name.d:
file_name.cpp file_name.h' type of target prerequisite relations. 

However, to get benefit of the dependency mechanism, this should be
something like 'file_name.o: file_name.cpp file_name.h'.

Therefore, we need to change ''options[3] = "-MT\"$(@:%.o=%.d)\"";'' as
'options[3] = "-MT\"$(@)\"";'

Also update the test cases.

Change-Id: Iee829a8564e1b134905ee06a8a4b76a1e3b30ecc
Signed-off-by: ocagdas <ocagdas@yahoo.com>
2015-06-24 21:54:00 -04:00
Sergey Prigogin
6c4344f714 Fixed a bug in CharArrayUtils.lastIndexOf(char[], char[]) method. 2015-06-24 18:22:39 -07:00
Marc Khouzam
75a3d71546 Create tests for GDB 7.10
Change-Id: I940f95a73278483d1b21dc8df9cdd41520522959
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-23 16:11:30 -04:00
Simon Marchi
e634076cdf Change way to skip building of gdb doc
Instead of modifying the source files of the documentation, it's cleaner
to replace the invocation to makeinfo to invoke "true". This will skip
building of all the docs.

Change-Id: I33a8ba7e1932433de48ab98d6cda3fda0bb09143
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-06-22 15:34:19 -04:00
Simon Marchi
13978c1567 [dsf-gdb] tests: Check if a line tag is defined more than once
As a safety net, fail if a line tag is defined more than once.

Also, allow calling resolveLineTagLocations more than once for a single
test.

Change-Id: I0832d3d28c4d688c38fd33dfc668b0ec6b8c4ffa
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-06-22 10:00:17 -04:00
Sergey Prigogin
08d96189f1 Removed redundant initialization. 2015-06-18 10:53:36 -07:00
Teodor Madan
c5a5040e62 Bug 387500 PgDn/PgUp jumps uses large address increments for memory
spaces with 64-bit address

- Fix scroll adjustments according to current viewport addresses
- Add CTRL-Home/CTRL-END to go to start/end of memory space
- Add Home/END to go to start/end of the row
- Add eclipse debug tracing support

Change-Id: Ifba9f1e6c67e1cc6ccb8f6f8787a55520d8bf9be
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
2015-06-18 07:02:55 -04:00
jyou13y
6e7a509f9b Bug 84144 [Parser2] GCC: labels as values
add support for syntax   int k = (int) && x;

Signed-off-by: jyou13y <justin.you@synopsys.com>
Change-Id: I3bb888b8930706b01c545794be4e054b025e641f
2015-06-18 03:03:56 -04:00
Sergey Prigogin
4ac73d7e0c Bug 470014 - Name resolution problem with ref-qualified methods
Fixed signatures of index methods with ref-qualifiers.

Change-Id: I6f49732c6cec273ca7fdb095340e438ca1a508f0
2015-06-17 20:37:47 -07:00
Sergey Prigogin
6839ee074e Cosmetics. 2015-06-17 20:37:45 -07:00