Marc-Andre Laperle
02a04cebad
Fix API errors with Eclipse 4.7
...
- Adding default methods can now be ignored
- Adding fields is now an error but we probably want to ignore this
because it is quite restrictive
Change-Id: Ie57c69f54c64e4913d1498b02e86d00c93f8101a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-30 14:11:36 -04:00
Nathan Ridge
1c60b844c5
Bug 509185 - Completion of constructor call with uniform initialization syntax
...
Change-Id: I3b0b3c5dd32ee09755e58cdb3dbc6af019ddd650
2017-01-29 17:15:00 -05:00
Nathan Ridge
a395647e48
Bug 510788 - Syntax coloring for template arguments in function template specialization
...
Previously, the arguments shared the color of the template-name.
Now, the arguments get their own colors.
Change-Id: I27af4146717a19095f1ac22188eedb8a71d9466c
2017-01-28 14:40:45 -05:00
Sergey Prigogin
e891f9e555
Cosmetics
...
Change-Id: Ib5d970ad0b34db58cbf7d87bdb67b457539985e4
2017-01-28 08:55:22 -08:00
Sergey Prigogin
7b05dbf791
Added protection against ClassCastException.
...
Change-Id: If22df485f21173841a0a5126ecc1246ea6651b4f
2017-01-27 22:37:12 -08:00
Sergey Prigogin
5aed7a6411
Bug 510662 - NPE in BuiltinOperators.<init>
...
Change-Id: I699a45e762dcc00593b0000c2cd3ecd5f2515773
2017-01-27 22:08:28 -08:00
Sergey Prigogin
2647895966
Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI
...
freezes
Added a cache to IndexFileSet and remove a redundant cache from
CPPASTTranslationUnit.
Change-Id: Ifdd6037acf392ad11a4259f1de8cc51d5e153727
2017-01-27 19:57:23 -08:00
Sergey Prigogin
19d8c2a741
Removed unnecessary casts.
...
Change-Id: Id100ea3e2382598a666cb5596dafe70149aaf6f0
2017-01-27 16:25:22 -08:00
Nathan Ridge
5fd108cd66
Bug 510706 - Handle UniqueType in SignatureBuilder.marshalType()
...
Change-Id: I3686e3c32cacbcbad299de333eee32241a4697a5
2017-01-26 21:37:28 -04:00
Nathan Ridge
a3b4bc6852
Bug 510665 - User-defined literal operator in namespace
...
Change-Id: Idb93eac23caa16870040cd4092f24a4a02563251
2017-01-26 21:34:28 -04:00
Nathan Ridge
09476c126a
Bug 461680 - Extend content assist's function parameter hints
...
In addition to showing the parameter list (with the current parameter
bolded), the hint now shows the function's name, return type, and
whether or not it is virtual.
Change-Id: I24be893ee8968fca8d9893230266ec98e2b9ae5a
2017-01-26 20:32:43 -05:00
Sergey Prigogin
8dd3aa2e3b
Bug 511143 - Const qualifier confuses __is_class built-in type trait
...
Change-Id: Iff01dd7e7fe6a4fec0b783275d7a5d4babd07d25
2017-01-26 15:24:11 -08:00
Nathan Ridge
b332cdaf75
Bug 497190 - Do not use ParameterGuessingProposal at all when parameter guessing is disabled
...
Change-Id: I9feda3d365eeb935296adbc7144b0f504017f87a
2017-01-25 12:47:19 -04:00
Nathan Ridge
a90caec05e
Bug 395562 - Follow-up to fix a regression where completing the method name in an out-of-line method definition would no longer insert parentheses
...
Change-Id: I8bbf083e874f6d01aa85c2ba4173685228160963
2017-01-24 22:07:55 -05:00
Nathan Ridge
3c20d6f0ea
Bug 292229 - Consider files with other extensions for inclusion proposals
...
Proposals where the extension is not a known C/C++ header file extension
are ranked below proposals where the extension is one.
Proposals where the extension is a known C/C++ *source* file extension,
and proposals where the filename begins with a '.', are still not considered.
Change-Id: I80784f8f15a01b05977a288affbe3958f1400bdf
2017-01-24 17:29:01 -04:00
Nathan Ridge
c5f3bbb55a
Bug 292229 - Refactor the content assist test suite to make adding new flags easier
...
Change-Id: I06bd3590e037e0761a62c454dec497d3043e7e08
2017-01-24 16:28:29 -05:00
Sergey Prigogin
1d6cf48198
Bug 510794 - Tab character is ignored at the beginning of line inside a
...
raw string literal
Change-Id: Idc8dfba8900495933f681f809dc96c4d92a6db8a
2017-01-23 11:51:39 -08:00
Nathan Ridge
8956d2c7e6
Bug 72809 - Improve content assist inside inactive code
...
Change-Id: If24e354d00aaf886da1571fc525b556e08c94897
2017-01-22 21:21:39 -04:00
Nathan Ridge
d45ff124e3
Bug 510722 - Handle a null AST in ExpandSelectionJob and ControlFlowGraphView
...
Change-Id: Iafd1b9a32833fb67554902d13955023c149a132e
2017-01-21 16:15:52 -05:00
Sergey Prigogin
2726670258
Cosmetics
...
Change-Id: I52a10ff524628692e9fa94b6fb1cc6cf1708d7d1
2017-01-21 15:00:24 -04:00
Sergey Prigogin
94a97818bf
Cosmetics
...
Change-Id: Ia9a8c9052f255bfbadf919b4aea029707d77b294
2017-01-20 15:49:17 -08:00
Nathan Ridge
89d1521d24
Bug 510484 - Restore the recursion protection set in CPPVariable.getInitialValue()
...
The set was moved to EvalUtil.getVariableValue() in bug 508254, but this
left some paths unprotected. This restores the set to
CPPVariable.getInitialValue() (while keeping the EvalUtil one too).
Change-Id: I4a579720f4bc23d41e50c484649a73c29698373d
2017-01-19 23:54:35 -05:00
Nathan Ridge
eb795e9518
Bug 483824 - Inline namespace reopened without inline keyword
...
Change-Id: Ia2e15b31356c2e2a2ab53ed6fd76138177ed40bb
2017-01-19 19:36:53 -05:00
Sergey Prigogin
37db6b290c
Bug 510662 - NPE in BuiltinOperators.<init>
...
Change-Id: I1ed5c8d0e820a89fb52c4ae51bc2f2ab79ce37b3
2017-01-19 10:39:05 -05:00
Sergey Prigogin
2c8c7a9bca
Cosmetics.
...
Change-Id: I157beb9b3ce003003173c95cd261826ac65dbeb7
2017-01-19 02:14:26 -04:00
Sergey Prigogin
1af8428deb
Bug 509898 - CPPSemantics.isReachableFromAst is slow and is causing UI
...
freezes
Optimized IndexFileSet.containsDeclaration method for performance and to
reduce its memory footprint.
Change-Id: I0e867b96c6d6ab102561bc999127980d1be26a7b
2017-01-18 19:59:12 -08:00
Nathan Ridge
24f099f882
Bug 509186 - Require an exact match for help proposals when providing context information
...
Change-Id: I06ccd65a0304921ebf2adbd556a89c8685237a8a
2017-01-18 13:12:06 -04:00
Nathan Ridge
785b17a064
Bug 72391 - When completing a function, do not insert parentheses if they are already present
...
Change-Id: Ia4beb5e7ee288c48f2dbde45b1f34a562b939cab
2017-01-18 13:03:12 -04:00
Nathan Ridge
73d5df1550
Bug 391439 - Do not do replacement for help proposal with context information style
...
Change-Id: I4d8988e9601e1f1b9722830b61cbf2d4c564a4cd
2017-01-18 13:01:00 -04:00
Nathan Ridge
b434f0d78d
Bug 509833 - Follow-up to fix propagation of the point of instantiation in ClassTypeHelper.findOverriders()
...
Change-Id: Ia59c361e075874dec5551803d985ed20329245da
2017-01-17 19:46:44 -05:00
Nathan Ridge
ccb64b8b63
Bug 510010 - Uniform initialization in template argument
...
Change-Id: I55853735e44fdf6240bebb53f2e7ab1a6885b273
2017-01-17 20:42:53 -04:00
Nathan Ridge
68e19daf1e
Bug 509191 - Do not create parameter guessing proposal if we know we are not calling the function
...
Change-Id: I7e45501707e0f58ed6d8745506a3519e29c0763a
2017-01-17 20:38:26 -04:00
Nathan Ridge
9e60a646fd
Bug 509182 - Completion of class type in using-declaration
...
Change-Id: Iacd0ab4bfead2df31cddc78840853eb697139b02
2017-01-17 20:36:39 -04:00
Nathan Ridge
b1d6194e14
Bug 456293 - Completion of destructor name
...
Change-Id: I53422b1daf693e8ab6c0ad64857e8b07c970444c
2017-01-17 19:34:26 -05:00
Nathan Ridge
2fe3f7ec9f
Bug 509734 - Cross-project references to template instances
...
Change-Id: I14ed61d2f709f615ba74501e70ac4ddc0db3d05a
2017-01-15 14:08:32 -04:00
Nathan Ridge
2e642428a4
Bug 509731 - Completion between empty parentheses in simple-type-constructor-expression
...
Change-Id: Ibe87a0fdfb0e7c8dd1a1392bc9643bc03ac73c38
2017-01-15 13:06:55 -05:00
Joseph Henry
df6ebf09e9
Bug 495423 - Indexer produces a erroneous "Symbol could not be found"
...
Added catch all condition to ConditionalExpression type evaluation where
both positive and negative types are the same.
Change-Id: I990b502dfce8ef71c753ac188e072de312b7ea9f
Signed-off-by: Joseph Henry <joseph.henry@sas.com>
2017-01-14 21:43:45 -05:00
Nathan Ridge
eb21d06ecc
Bug 497500 - Display per-file indexing time for diagnostic purposes
...
Controlled by the org.eclipse.cdt.core/debug/indexer/activity debug option.
Change-Id: I9eceb9e72697230b51221db7b0680494fefad154
2017-01-14 21:41:17 -05:00
Thomas Corbat
2ee0a093d0
Bug 506972 - Contextual conversion to bool for &&, || and !
...
Suggestion for implementation of contextual conversion of explicit
conversion operator.
+ Test
Change-Id: I69537f86a9b09120e31115fbe94391a90196952a
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-13 04:52:23 -05:00
Thomas Corbat
eaa1442345
Bug 510151 Braced default initialization by implicit default constructor
...
Change-Id: Id9f7dba42d45d1e2d9bd557802eb7669946d242f
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-13 05:50:42 -04:00
Sergey Prigogin
b96dace616
Cosmetics
...
Change-Id: I778d142e115b0a70a832138a9170bee5541fce4f
2017-01-11 10:52:16 -08:00
Sergey Prigogin
88ee3029fc
Bug 510226 - ClassCastException in PDOMCPPUnknownMemberClass.getOwner
...
Change-Id: Ib85621abe85f8ef29b0cd231f390f6c5447f6434
2017-01-10 19:38:17 -08:00
Nathan Ridge
031938d831
Bug 509871 - ClassCastException in EvalConstructor.computeForFunctionCall()
...
Change-Id: If4b7dac7a6665619f80a57ebfe83ce8749b7dd9c
2017-01-10 21:52:11 -04:00
Sergey Prigogin
df4a39d0a2
Cosmetics
...
Change-Id: I51c0b2d876c48c30564177fc2c1323bc7eee1409
2017-01-10 14:14:56 -05:00
Nathan Ridge
aa0d656ab7
Bug 509833 - Fix unsafe method call in ClassTypeHelper.findOverriders()
...
Change-Id: I3368d7dd22ce8e207f6363509b6830099a8f0236
2017-01-10 04:12:18 -04:00
Nathan Ridge
6132605f03
Bug 509733 - Follow-up to exclude image locations of kind MACRO_DEFINITION
...
As per bug 344656 comment 5.
Change-Id: Ic28a4c9641533b6ee24d5a67cb8e104889ac4055
2017-01-10 00:52:11 -05:00
Nathan Ridge
8c74efdff4
Bug 402498 - Apply declaredBefore() filtering to index bindings
...
Change-Id: Ic0abe31c67c88fa6f17eed3a231ec9231cd93cb0
2017-01-09 03:55:43 -04:00
Nathan Ridge
c3504af925
Bug 509733 - Open Declaration with source and target inside a macro invocation
...
Change-Id: I1f31a94caa0b48ba07380f28dc11ba74629b202e
2017-01-09 01:24:24 -04:00
Sergey Prigogin
a33ebe1eed
Cosmetics
...
Change-Id: Ie2fd6d347a38f33e12223cc756816f19b3787160
2017-01-07 17:01:00 -04:00
Sergey Prigogin
a8872762d0
Bug 509255 - Unresolved symbol due to invalid selection of template
...
specialization
Change-Id: I130219f4ec7c3339b449d5c1af8a35150362613b
2017-01-07 15:59:51 -05:00