Sergey Prigogin
93c60329b8
Removed the deprecated PDOMLinkage.getNode(long) method.
...
Change-Id: I7a1bf76e0261fc18b616387cdcec16f81f8b0bf3
Reviewed-on: https://git.eclipse.org/r/20692
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-16 00:25:25 -05:00
Sergey Prigogin
5637d3dceb
Cosmetics.
2014-01-15 20:36:03 -08:00
Sergey Prigogin
a0ce578175
Removed uses of the deprecated PDOMLinkage.getNode(long) method.
2014-01-15 20:32:09 -08:00
Sergey Prigogin
8d14ab8793
Bug 425833 - IllegalArgumentException I is not a member of Cls1
...
Change-Id: I61d52d2585142c15be21638e614d5b8daa13dfae
2014-01-15 20:06:08 -08:00
Sergey Prigogin
74c0954dc8
Bug 425595 - Opening 'C/C++ General-> Formatter' of a project properties
...
cuases NPE
2014-01-13 11:40:57 -08:00
Sergey Prigogin
e9b3224eaa
Cosmetics.
2014-01-10 09:54:58 -08:00
Marc-Andre Laperle
fb12c43146
Bug 424635 - The wrench icon overlay for a source file does not appear
...
When the language settings providers functionality is enabled, also
check for build settings customization, not just the language setting
entries.
Change-Id: Ia9fec3bc377617dc9f2264dd924941879f1b64b0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/20297
Tested-by: Hudson CI
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2014-01-06 15:53:33 -05:00
Andrew Eidsness
9d6055c4a3
Bug 422841: Add Q_GADGET to QtIndex
...
This extends the QtIndex to support C++ classes that have been annotated
with the Q_GADGET macro. QGadgets are normal C++ classes that are able
to host Q_ENUMs.
The implementation classes for QObject have been modified to share
common parts with the implementation for QGadget. The types are
intentionally not related in the QtIndex API. This allows for divergent
changes in the Qt spec.
This patch includes new tests cases for Q_GADGET.
Change-Id: I59eb745ff5614c2897d67dd7d6807763091120af
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20236
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-06 09:52:15 -05:00
Sergey Prigogin
3005e7ef26
Bug 424876 - Unable to extract a function containing nested loops
2014-01-03 18:39:31 -08:00
Sergey Prigogin
59b67cd28b
Cosmetics.
2014-01-03 17:38:29 -08:00
Sergey Prigogin
281d5ddf79
Cosmetics.
2014-01-02 17:28:50 -08:00
Sergey Prigogin
4753969951
When a file is deleted from the index, the file in the context of which
...
it was parsed should be marked as having unresolved includes.
2014-01-02 17:22:12 -08:00
Sergey Prigogin
c95730601b
Cosmetics.
2014-01-02 17:22:04 -08:00
Sergey Prigogin
cafab91ca1
Don't allow creation of EvalID without a name.
2014-01-02 11:49:39 -08:00
Sergey Prigogin
106afe4e80
Proper handling of subclasses in getAdapter method.
2013-12-26 09:44:54 -08:00
Nathan Ridge
628e0329b2
Bug 326750 - Field with same name as class
...
Change-Id: I6170ad204506d9eca3a0016930ad6506ba56e9cd
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/20147
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-23 14:08:13 -05:00
Marc Khouzam
80d5db7748
Bug 424397 - Don't print full stack trace in case spawner native is not
...
available
Change-Id: Id950622f6ca39639addeedc33e8d1c3fadd611e0
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/20028
2013-12-23 13:27:06 -05:00
Sergey Prigogin
db22538a25
Added a @Deprecated annotation.
2013-12-21 10:13:39 -08:00
Nathan Ridge
c1b801b036
Bug 332829 - Handle ambiguity between a type-id and an expression other
...
than an id-expression in a template argument
Change-Id: I1ec6157b09526a1f98850361f903fbea8b8c8a89
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/20140
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-21 13:04:43 -05:00
Marc-Andre Laperle
9e3bca14b5
Bug 353281 - Content assist for designated initializers, additional fix
...
Change-Id: I534f074f1308f03f341838c87096ef09e3c166a2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/20094
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
2013-12-20 20:33:20 -05:00
Sergey Prigogin
ef93400be2
Cosmetics.
2013-12-18 14:08:46 -08:00
Sergey Prigogin
240a5ac13e
Bug 424378 - __is_final GCC built-in type trait is not supported
2013-12-18 12:32:44 -08:00
Sergey Prigogin
bff4a3bf6c
Cosmetics.
2013-12-18 12:27:03 -08:00
Nathan Ridge
e0d1910ed4
Bug 420995 - Specializations of constexpr functions
...
Change-Id: I7e08e21eb62867d6bb42aa6904ab0fab472cb0bc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19936
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-18 14:29:16 -05:00
Sergey Prigogin
227b03e6b8
An attempt at performance optimization.
...
Change-Id: Ia4b6839626381935af859ae468de418fa004c867
Reviewed-on: https://git.eclipse.org/r/19934
Reviewed-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-18 12:40:39 -05:00
Nathan Ridge
d9c4584257
Bug 395074 - NPE in EvalFixed.<init>
...
Change-Id: I2457557add26e0121bd974fcc954ed879a8e8cf4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19932
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-17 23:29:05 -05:00
Sergey Prigogin
bb6d85dbd0
Bug 419301 - Operator overloading confuses CDT (with boost)
...
This restores commit ebc858ec44
.
2013-12-17 19:36:44 -08:00
Nathan Ridge
a7e2467ba5
Bug 419301 - Remove stray friend functions from lookup results
...
Change-Id: I69f79de6f38226aeceb0dfecb22ae43193c8c696
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19890
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-17 22:30:56 -05:00
Sergey Prigogin
4cfdc239bc
Adjusted JavaDocs.
2013-12-17 12:40:46 -08:00
Sergey Prigogin
e622794f73
Revert "Bug 419301 - Operator overloading confuses CDT (with boost)"
...
This reverts commit ebc858ec44
.
2013-12-16 16:23:51 -08:00
Uwe Stieber
e72c037dbd
Bug 419391 - Contribute Windows PTY support
...
Signed-off-by: Uwe Stieber <uwe.stieber@windriver.com>
2013-12-16 09:54:34 +01:00
Nathan Ridge
ebc858ec44
Bug 419301 - Operator overloading confuses CDT (with boost)
...
Change-Id: I9f136577e8e64227d024ba6544017439f1ed2260
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19833
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-16 01:34:04 -05:00
Nathan Ridge
dd7dde956f
Bug 417700 - Semantic Error: Invalid overload of 'endl' for a templated
...
parameter
Change-Id: Icd110a386421d9d5cc9502dd8d4cd56328119a77
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19834
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-16 00:55:50 -05:00
Nathan Ridge
d96ec1dfc8
Bug 422505 - Additional fix for unqualified case
...
Change-Id: Ia2a154c789d1b46643a67958611589e900ae0f18
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19826
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-16 00:43:19 -05:00
Nathan Ridge
7f3095be51
Bug 422505 - Name resolution problem with template friend method
...
Change-Id: I1cb70755042572272cb38382795caa98f9d463ff
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19825
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-16 00:41:35 -05:00
Nathan Ridge
c126fade3d
Bug 419938 - [fp] Pure virtual implementation not recognized if only one
...
path implements it
Change-Id: I90732a87d8d6b4ad2a84aa3c8b09b10727afa994
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19823
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-16 00:40:02 -05:00
Sergey Prigogin
09773cc341
Added JavaDoc for BaseTestCase.INDEXER_TIMEOUT_SEC.
2013-12-15 10:57:16 -08:00
Nathan Ridge
48d5341bf7
Bug 401820 - Explicit specialization of template declared in header
...
Change-Id: Ibf2156f880d42e87b1d954772b0faae384f9784b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19742
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-15 02:12:57 -05:00
Marc Khouzam
7bbbbcf7a8
Missing @since tag
...
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-12-12 16:15:02 -05:00
Andrew Eidsness
1b42998e47
Bug 422841: Add IQMethod to the QtIndex
...
This adds support for Qt slots, signals, and invokables to the QtIndex.
This does not yet generate PDOM references for QObject::connection
function calls and the Content Assistant is not contributed yet.
This also fixes a problem in the GNUCPPSourceParser class (internal to
cdt.core). The class has a protected method that accepts an inner enum
as a parameter. That enum was marked as private, meaning the method
could not actually be used by subclasses. I've updated the enum to
match the visibility of the method.
There are three big areas needed to support Qt methods:
1) Slot and signal regions must be identified in the C++ class
definition. These regions are introduced with special macros and the
region extends to the next region or to the next visibility label.
Single methods can also be marked with (different) special macros.
This only applies outside of a slot/signal region.
I've created QtASTClass which examines the input class spec in order
to identify all such regions. This information is used when creating
the QtPDOM nodes for these methods.
2) Some places in Qt use type information embedded as macro expansion
parameters. The values are lost by the standard C++ parser (since they
are just text in the expansion). I've added an extension to the
GNUCPPSourceParser that accepts an input string (the macro expansion
parameter) and produces an appropriate IASTNode if possible.
3) The Qt moc follows specific and non-standard rules when matching
method signatures inside of QObject::connect function calls. I've added
a utility that creates the same signature using the CDT AST as input.
I learned the rules used by the moc by observing it's output for
significant cases. Those cases have been put into a test case that is
included in this patch.
Change-Id: If812558db315abec637653cc974abf1c0c13d95b
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/19672
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2013-12-11 20:59:16 -05:00
Sergey Prigogin
2e0bd2e95b
Added ICElement.EMPTY_ARRAY constant.
2013-12-11 15:29:22 -08:00
Sergey Prigogin
bdde88fd2a
Cosmetics.
2013-12-11 15:28:58 -08:00
Marc-Andre Laperle
431dff5671
Bug 421289 - Preferences for indexing all versions of all or specific
...
headers
Change-Id: If0788d35af7aea0f95ffbff10b4e5d1b9f30ba62
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/19033
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-10 14:48:56 -05:00
Marc-Andre Laperle
3c01b0d5f1
Bug 423396 - Indexer can't evaluate operator value
...
Change-Id: I8edcc66e24c95d4fb0113df8a7f0c21cbf378155
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/19482
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-09 14:34:00 -05:00
Sergey Prigogin
498762b021
Code streamlining.
2013-12-06 12:47:28 -08:00
Sergey Prigogin
b40827283d
Cosmetics.
2013-12-06 12:17:26 -08:00
Sergey Prigogin
ecf7d25dd9
Cosmetics.
2013-12-06 12:01:12 -08:00
Sergey Prigogin
1a4e509e0d
Bug 423471 - ClassCastException in CPPASTTemplateIDAmbiguity
2013-12-06 11:38:43 -08:00
Sergey Prigogin
aa9dd95996
Cosmetics.
2013-12-06 11:28:24 -08:00
Sergey Prigogin
ff49775235
Bug 400073 - More robust clearing of results cache.
2013-12-06 11:16:59 -08:00