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

12910 commits

Author SHA1 Message Date
Nathan Ridge
36f16ba1b9 Bug 486426 - Constexpr evaluation of function call with an argument requiring user-defined conversion
Change-Id: I1110b76d3520666a980100f6cd17689911a16759
2016-01-29 02:35:49 -05:00
Stefan Xenos
b7eb62ae3b Fix compiler errors in CElementSorter
Change-Id: I8c105b7649c688bbb02ae64b5f74a0f8dedeb468
Signed-off-by: Stefan Xenos <sxenos@gmail.com>
2016-01-28 13:43:47 -05:00
Nathan Ridge
9e7b1ce856 Bug 486144 - Avoid recursion due to EvalID.withinNonStaticMethod() doing over-eager name resolution
Change-Id: I51de1941753c3d6beb0f21eebaff01f2cf87a9fb
2016-01-26 22:03:51 -05:00
Nathan Ridge
423dc228fa Bug 485388 - Ambiguity resolution of method bodies of nested classes
They can depend on members of enclosing classes, so their processing
needs to wait until the end of the outermost class definition.

Change-Id: I0f49743675db0f19fd01e01a4cb6a9b87bb68658
2016-01-26 02:44:29 -05:00
Sergey Prigogin
50151f0a71 Cosmetics. 2016-01-25 10:42:30 -08:00
Nathan Ridge
4fafaeaf10 Bug 486425 - Decltype in pack expansion
Change-Id: I67dfbc295fab4674b95a9d61cf77d2329e1a0525
2016-01-25 13:26:56 -05:00
Marc-Andre Laperle
8c96317ae8 Fix used boolean
Due to a cherry-pick from the cdt_8_8, the boolean is not used as it
should (the boolean does not exist in cdt_8_8). Since it's available in
master, we should use it (or remove it)

Change-Id: Id907e9408cfa7944677b65455bfa7840727ed313
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-25 12:47:05 -05:00
Nathan Ridge
1d46897ad0 Bug 485709 - Syntax coloring of qualified enumeration
Change-Id: I33c8edc024fbb23c16e9328a15ddec05eabd6124
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-25 00:16:44 -05:00
Sergey Prigogin
e60f8efdf3 Bug 486149 - Name resolution problem with dependent conversion operator
Corrected two bugs pointed out in https://git.eclipse.org/r/#/c/64940/1

Change-Id: I44ec5b28a40db73857a7b687c3c784583810962b
2016-01-24 09:08:13 -08:00
Sergey Prigogin
dbd35a059a Bug 486149 - Name resolution problem with dependent conversion operator
Change-Id: I696b91f7703451f9ada8dbd60987c5f19d82ad27
2016-01-21 17:44:46 -08:00
Sergey Prigogin
c5ecc6fe90 Cosmetics. 2016-01-21 17:43:34 -08:00
Thomas Corbat
7b6cbde517 Bug 479241 - [PTY] Output gets cut off after EOF on input
Conflicts:
	core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/pty/PTYOutputStream.java

Change-Id: If13b0d977f621e21e7fe89b2b52f07f74858787c
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-01-21 10:48:32 +01:00
Sergey Prigogin
e347a841c0 Cosmetics. 2016-01-19 14:45:26 -08:00
Nathan Ridge
bf2ea12951 Bug 485985 - Function call expression with dependent function argument
Change-Id: I56358d53020a2b586a41fac66f40170901c872f5
2016-01-19 17:43:32 -05:00
Nathan Ridge
3d44e89bee Bug 485888 - Partial specialization for ref-qualified function type
Change-Id: I34bb2faa8ce701b905c8692d32ff1e5514477d6f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-19 17:40:41 -05:00
Sergey Prigogin
e9620b8a0e Cosmetics. 2016-01-18 19:37:32 -08:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Sergey Prigogin
df4865a9d3 Bug 485806 - Name resolution problem with a parameter pack
Change-Id: I41aa69fd2f8bdc5a450ed941146de03e49590a90
2016-01-14 16:39:26 -08:00
Sergey Prigogin
751b2e3e1d Revert "Bug 485388 - Ambiguity resolution of method bodies of nested classes"
This reverts commit 3d814869df.

Change-Id: Ia9ee55575d7bd7f8fe4a6b67dbc0d7659cedcfe8
2016-01-14 19:26:41 -05:00
Nathan Ridge
952c64a0bc Bug 485720 - Evaluation of __is_trivially_copyable
Change-Id: I969dc47ed20c28b0e8ce476c586f8d22af7c8894
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-14 01:37:26 -05:00
Nathan Ridge
a5348a47ba Bug 485713 - Parser support for new type trait intrinsics in GCC 5
Change-Id: I1c0d41c01c921f701c58b2eee342c63de607d1d7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-14 01:34:09 -05:00
Nathan Ridge
59765dc380 Bug 485710 - When determining the set of associated namespaces for
argument-dependent lookup, do not consider the base classes of enclosing
classes

Change-Id: Iefa3b8b18102553bd46ca84dd6c90b5ff245e178
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-13 22:03:13 -05:00
Nathan Ridge
3d814869df Bug 485388 - Ambiguity resolution of method bodies of nested classes
They can depend on members of enclosing classes, so their processing
needs to wait until the end of the outermost class definition.

Change-Id: Ie714d8410bb7a474bcc8dfab0bc09fcc89450598
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-13 22:01:03 -05:00
Nathan Ridge
8b68a2bb8e Bug 485383 - Exclude constructors when expanding using-declarations
during name lookup

This helps us respect the standard's rule that name lookup does not find
constructors, and avoid ambiguities between class and constructor names
that result otherwise.

Change-Id: I17b907bcb35108d7d7e0cc72ca70e07481a5b9ed
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-11 14:30:47 -05:00
Sergey Prigogin
1d75c92c77 Cosmetics. 2016-01-08 11:21:34 -08:00
Nathan Ridge
ea73b8149c Bug 484979 - Name resolution fixes for labels
Change-Id: Ic90a335bf9cb283dcf5a02e83839d955ad312593
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-08 10:11:55 -08:00
Alena Laskavaia
d3e933501e Bug 411579 - Add a "Create new class" Quick fix.
Change-Id: I57dc46f079357de7d5c281d016a25baa3f2154a6
2016-01-07 20:35:31 -05:00
Nathan Ridge
bc953d2348 Move findAncestorWithType() from CPPVisitor to ASTQueries
Change-Id: Ibcbc0a2685dabd66e7025db5d2924acbbb5a882d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-07 19:04:50 -05:00
Nathan Ridge
7eeecab020 Bug 244434 - When the target file of "Open Declaration" is reachable via
multiple workspace paths, open it under the path that most closely
matches the originating file

Change-Id: I616804c6ffb9900e5df2f918a409f46c3cbb7a3a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-07 00:59:38 -05:00
Sergey Prigogin
d4c3e42e7e Reimplemented IndexUI.getTranslationUnit(IASTName) method.
Change-Id: Icb13f2d8d4370c670053a52aeb226d4853ce4b44
2016-01-06 19:19:30 -05:00
Lukas Wegmann
537178b4e4 Bug 477611 - Add support for C++14 Variable Templates
Change-Id: Ib3f7097ff35fb1d332dde39b28fc25461e3f3e03
Signed-off-by: Lukas Wegmann <lukas.wegmann@hsr.ch>
2016-01-06 13:11:23 -08:00
Jonah Graham
cedcf7655b Bug 472765: more complete tests for source path mapping
Add some more tests for source path mappings to ensure that the upcoming
change of using gdb's set substitute-path does not regress any issues.

Change-Id: I9067c8859293c3332439679cb1f663e36a4cc34e
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-06 12:46:20 -05:00
Marc-Andre Laperle
b1104da01e Clarify null handling in javadoc of ProcessClosure constructor
The javadoc of ProcessClosure specifies that outputStream/errorStream
"Can be null, if not interested in reading the output" but that's not
correct: passing null triggers NPEs. This patch updates the javadoc to
specify that null is not handled.

Change-Id: Iea65486cc938d1f3bf7f0beb479b2329c9f0ecdc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-05 14:09:54 -05:00
Sergey Prigogin
ec9a9fb5c7 Implemented is_empty type trait.
Change-Id: I1bb6fc98920eded16186889d66e33a7ca7432456
2016-01-03 22:10:54 -08:00
Marc Khouzam
f3ff649041 Fix copyright of all CDT plugins using the copyright tool from platform.
This commit does not add missing copyrights, just updates the date on
the existing ones.

Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -05:00
Sergey Prigogin
25b1d6d57e Adjusted JavaDoc. 2016-01-03 17:18:31 -08:00
Nathan Ridge
db27a94a9e Bug 484959 - Instantiate return expression of constexpr function
template

Change-Id: If9f181581924395ba575167b34aca89a88931578
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-03 01:47:44 -05:00
Sergey Prigogin
604f391865 Adjusted JavaDoc. 2016-01-01 19:01:29 -08:00
Sergey Prigogin
d8a72d1080 Revert "Bug 484959 - Instantiate return expression of constexpr function
template"

This reverts commit 1e598214ea.

Change-Id: I5fe7b602d3ecc26660f2bf8fe849ebbb5d6add3a
2015-12-30 17:08:36 -05:00
Sergey Prigogin
36d26c19e8 Revert "Bug 84144 [Parser2] GCC: labels as values"
This reverts commit 6e7a509f9b.

Change-Id: I7efcd8ac5d4c4507e827faed6072d6a314dc0b25
2015-12-30 10:02:08 -08:00
Nathan Ridge
1e598214ea Bug 484959 - Instantiate return expression of constexpr function
template

Change-Id: I3abec0f3bac58db77aacd61bd985c94c2185e3a8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 23:15:35 -05:00
Nathan Ridge
ad2940f594 Bug 475739 - Follow-up to fix some warnings related to deprecation
Change-Id: I400de3448d615cef6adea5035ed24e66490819d4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 21:47:36 -05:00
Nathan Ridge
fe5aea4644 Bug 484824 - Disallow initializers in type-ids in C code
This was already disalowed in C++ code previously.

Change-Id: I17f0b19253394896a980e2bbeb610bbbf266d012
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 21:47:12 -05:00
Nathan Ridge
f69b77089b Bug 467332 - Disambiguation inside noexcept-specifier
Change-Id: I5bc7378bd050f3c13753dc98970c4e510f53caf5
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 21:46:30 -05:00
Nathan Ridge
2308f972e2 Bug 383502 - Injected-class-names of different instances of the same
template found in different base classes

Change-Id: I4eed0443e95ca388a771f158ba16ec27298f7afb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 19:56:57 -05:00
Nathan Ridge
6b58a751bb Bug 462764 - Avoid infinite recursion when storing function instance in
index

Change-Id: I922b741e62013941753114ea5c17f401093f18f3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 15:13:38 -05:00
Sergey Prigogin
03e0264fc1 Bug 477556 - Protect against NPE in ASTTranslationUnit.getAdapter
Change-Id: Ic8b101f6e298fd24277b27b3a43dab63b7c5410b
2015-12-28 20:16:14 -08:00
Marc-Andre Laperle
1c258538de Remore unused New New Wizard
This code is not used and hasn't been touched since 2012.
Now it can be referred as the "old new new wizard".

Change-Id: Iccc60651a8233a5ef5b138dfcc334cfcf926d109
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-28 13:20:43 -05:00
Sergey Prigogin
744765be6f Cosmetics.
Change-Id: Ie36a0936b72f053fe557b4ae6e57bf52ee4aa8f4
2015-12-27 16:24:40 -08:00
Sergey Prigogin
f1bcff300c Cosmetics. 2015-12-27 14:34:49 -08:00