1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

12981 commits

Author SHA1 Message Date
Nathan Ridge
7f377190a8 Bug 452416 - Adjust a comment about PDOM versioning
Change-Id: Ia3b20bdcb3bd82ba742ad9a1a36092a658d30238
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-10 04:11:27 -05:00
Nathan Ridge
6a87e3014d Bug 452416 - Handle variadic functions in variable read/write analysis
Change-Id: Ib28574d3cdc14fc380e6ceb8b2ba4a240b2316c6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-09 16:44:06 -05:00
Nathan Ridge
fd11d42d89 Bug 452416 - Move takesVarArgs() up from ICPPFunctionType to
IFunctionType

Change-Id: Ifd0cf6c4ca026587f2bbccfbc3d7f849c95b92de
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-09 16:44:05 -05:00
Nathan Ridge
34c84eba3c Bug 459279 - Size of string literals with escape characters
Change-Id: I5fa96ce722db657d5ff4a3557d3add04e991ab88
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-09 00:11:40 -05:00
Nathan Ridge
f7cf56f4c5 Bug 458316 - Unqualified function call with dependent argument and
non-matching overload in scope at point of declaration

Change-Id: I2fc42e9ef9258c3c56791001217572fdd08f5025
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-09 00:13:41 -05:00
Nathan Ridge
327709c58e Bug 457770 - Size of empty structure
Change-Id: Id6f02228968986090867b2053c7815e594a404c1
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-08 23:23:18 -05:00
Michi
8a896c57ed Bug 459389 - [code assist] no members for deeply nested class templates
Change-Id: Ia6b3461325a9c489d10dd1356d46e7e6b6ee61f0
Signed-off-by: Michi <woskimi@yahoo.de>
2015-02-08 14:38:04 -05:00
Nathan Ridge
23938e2b3d Bug 445177 - Fix an over-eager optimization that can discard a desired
alternative in TemplateIdStrategy

Change-Id: Ia82460e5e3a3420cbb13f7abd698f0173336b123
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-08 03:48:14 -05:00
Sergey Prigogin
3cbb643870 Bug 459186. Added safeguards against misuse of content assist contexts 2015-02-06 15:25:09 -08:00
Sergey Prigogin
eaabc8eb34 Cosmetics. 2015-02-06 14:20:50 -08:00
Sergey Prigogin
9d2804b6a0 Bug 459186 - Index read locks are leaking 2015-02-06 14:15:03 -08:00
Sergey Prigogin
3042d38e0d Revert "Bug 438549. Add mechanism for parameter guessing."
This reverts commit 69aa2d0bf0.
2015-02-06 14:12:55 -08:00
Sergey Prigogin
1b6b3f0f06 Revert "Cosmetics."
This reverts commit e98bf3e3e3.
2015-02-06 14:12:45 -08:00
Sergey Prigogin
9de6de9fd4 Revert "Bug 459186 - Index read locks are leaking"
This reverts commit dc08061cc6.
2015-02-06 14:12:02 -08:00
Sergey Prigogin
a424fc6329 Cosmetics. 2015-02-06 10:55:00 -08:00
Marc-Andre Laperle
afd11359e6 Extract test VM args to common property base.test.vmargs
This makes it easier to change arguments for all tests. As a side-effect,
all tests now enable assertion (-ea) and have the same max heap size, etc.

Change-Id: I0965d40ba3283efe7eacdf927f6c302ee0ab30f0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-06 13:02:28 -05:00
Sergey Prigogin
dc08061cc6 Bug 459186 - Index read locks are leaking 2015-02-04 20:45:30 -08:00
Sergey Prigogin
e98bf3e3e3 Cosmetics. 2015-02-04 20:38:29 -08:00
Sergey Prigogin
c89ac99edf Bug 459179 - ClassCastException in CPPSemantics.getParentScope 2015-02-04 15:11:39 -08:00
Michi
3cf9300566 Bug 459047 - [AccessContext] namingClass not found for nested class
specializations

if a binding is a member of a ClassInstance (owner) we should not try to
find a corresponding class template (target).

Change-Id: Ic865161f137ecb2a300afd03761cc26ee758b38b
Signed-off-by: Michi <woskimi@yahoo.de>
2015-02-04 11:55:03 -05:00
Nathan Ridge
9ca379e67f Bug 458679 - Ranking list-initialization sequences with user-defined
conversions

Change-Id: Ia976acf656f3431f96880b32fedc575a56c4e86b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-04 11:29:07 -05:00
Sergey Prigogin
d0476b4ae0 Cosmetics. 2015-01-26 22:04:18 -08:00
Sergey Prigogin
021c9c38af Comment adjustment. 2015-01-26 21:55:38 -08:00
Sergey Prigogin
4738597265 Bug 436656 - [Organize includes] Add include for base class when code
using derived class
2015-01-26 21:43:06 -08:00
Sergey Prigogin
3d92885495 Cosmetics. 2015-01-26 21:43:04 -08:00
Alena Laskavaia
b7829381f2 Fixed NPE when opening preference page for Working Sets
java.lang.NullPointerException
	at
org.eclipse.cdt.internal.ui.workingsets.IWorkingSetProjectConfigurationFactory$Registry$1.compare(IWorkingSetProjectConfigurationFactory.java:180)
	at
org.eclipse.cdt.internal.ui.workingsets.IWorkingSetProjectConfigurationFactory$Registry$1.compare(IWorkingSetProjectConfigurationFactory.java:1)
	at java.util.TimSort.countRunAndMakeAscending(TimSort.java:352)
	at java.util.TimSort.sort(TimSort.java:216)
	at java.util.Arrays.sort(Arrays.java:1438)
	
	

Change-Id: Ibe91a679c876ed5f70f4f787188e13e52203466c
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-01-26 10:44:56 -05:00
Nathan Ridge
0613bf527a Bug 458317 - Fix an NPE in MethodHighlighting.consumes()
Change-Id: I6a88e26aa60d57dd8c95079672ce0c1ceff8b3d7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-01-24 05:23:26 -05:00
mazab
69aa2d0bf0 Bug 438549. Add mechanism for parameter guessing.
Change-Id: I5545d179cfd7c54e2a52f856ea21da43e57587d6
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-01-23 20:22:33 -05:00
Marc Khouzam
56aa41f360 Missing fragment description for ppc64le
Change-Id: I08a69ccb69e184a8d6c08ff22f1e4ac956f648a4
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-01-23 13:18:00 -05:00
Sergey Prigogin
2c9a404d44 Bug 451082 - Added support for 'alignof' 2015-01-21 14:33:16 -08:00
Sergey Prigogin
686ad904b2 Bug 457511 - Instantiation of nested class used inside enumerator
Change-Id: I45f8f49ab1aa45b8f1309bb465ca08b001762173
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-01-20 20:29:06 -08:00
Sergey Prigogin
568e8a995b Bug 457503 - Argument-dependent lookup fails for index types in global
namespace
2015-01-16 10:18:48 -08:00
Sergey Prigogin
773eb90b41 Cosmetics. 2015-01-16 10:18:46 -08:00
Thomas Corbat
786e2137eb Bug 399215 - Toggle Function breaks the code...
- Test case for reproducing the problem.
- The code is lost because a copy of the body, which contains macro
references is not rewritten, but its raw signature is taken. The raw
signature of a copy is empty in this case. I've solved this issue by
using the raw signature of the original node for get raw signature. This
is a fundamental change of ASTNode.getRawSignature(). We could also
solve this in the StatementWriter to get the original node before
accessing the raw signature.

Change-Id: I64b408b09444df818d30d99d99de4a1974eacf93
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/39406
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-16 09:26:19 -05:00
Anton Leherbauer
ef00469292 Bug 443481 - Warnings about non-existing invalid project paths
Add a hidden preference "org.eclipse.cdt.core/validate_include_entries"
which allows to disable validation of include entries if set to false in 
plugin_customization.ini.

Change-Id: Ia80f875228a459589ab8a4e6733d3e2f723f78d3
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Reviewed-on: https://git.eclipse.org/r/39642
Tested-by: Hudson CI
2015-01-16 04:22:57 -05:00
Alena Laskavaia
a0fd70a09e Bug 457590 - Workspace... button does not work in Library Path picker
Change-Id: Idcb597b5d60494438b1a5f29f4efad00050acc06
Reviewed-on: https://git.eclipse.org/r/39671
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2015-01-15 16:48:56 -05:00
Sergey Prigogin
3fa103dbf8 Bug 457374 - A 'using' declaration confuses Organize Includes 2015-01-13 12:07:47 -08:00
Sergey Prigogin
49997a17b3 Bug 457301 - Organize Includes ignores IWYU pragma: keep 2015-01-12 18:37:19 -08:00
Andrew Gvozdev
daa20f98b4 Bug 453398: NPE in SupplierBasedCdtVariableSubstitutor ("Expand
env.variable refs")

Change-Id: I4ff9f5191ac5ffe5e5b34b8aba7758aa4965b213
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39047
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Hudson CI
2015-01-09 16:53:29 -05:00
Sergey Prigogin
765d9bf16e Cosmetics. 2015-01-08 17:27:50 -08:00
Sergey Prigogin
dfacdf9d40 Code cleanup. 2015-01-08 16:33:32 -08:00
Sergey Prigogin
f0e6a286fb Added a test for renaming a source root folder. 2015-01-08 16:14:20 -08:00
Sergey Prigogin
a44b1c9ba8 Fixed a typo. 2015-01-08 16:14:19 -08:00
Sergey Prigogin
2dbdd831ec Cosmetics. 2015-01-08 16:14:17 -08:00
Sergey Prigogin
07997cb72a Fixed deprecation warnings. 2015-01-08 16:14:15 -08:00
Sergey Prigogin
d59648bf52 Cosmetics. 2015-01-08 16:14:13 -08:00
Sergey Prigogin
32cdeab66b Bug 455571 - Unable to rename C/C++ project if project has excluded
source folder entry
2015-01-08 16:14:10 -08:00
Sergey Prigogin
509d7cd337 Cosmetics. 2015-01-08 16:14:09 -08:00
Michi
d6a510ab06 Bug 456752 - [Code Assist] - Accessibility check is broken for base
class templates of a class template

There are 2 changes. Finding the proper naming scope, which basically is
the same as what is done in CPPUnknownTypeScope.getBindings when
retrieving the bindings themselves.
The second change was picking the right scope for the actual
accessibility check for base templates.

Change-Id: I535c8cdd9d07272d37da9d23a03edb9e6b1b3a7a
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/39016
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-07 12:54:23 -05:00
Marc Khouzam
5beb56ed69 Bug 455094 - StepIntoSelection cleanup after review
Change-Id: Id591e5c46ed86744b92c0931079fc798e39498ed
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38177
2015-01-07 11:01:56 -05:00