1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-16 21:45:22 +02:00
Commit graph

11756 commits

Author SHA1 Message Date
Sergey Prigogin
9d834b73ca Removed two meaningless TODOs. 2013-08-30 10:04:52 -07:00
Sergey Prigogin
ff31d49021 Cosmetics. 2013-08-30 10:03:30 -07:00
Sergey Prigogin
c9dc00136c Fixed an NPE. 2013-08-29 17:21:43 -07:00
Sergey Prigogin
c6f0b99ab7 Bug 416194 - Partner include should never be removed 2013-08-29 14:59:42 -07:00
Andrew Gvozdev
ed07561521 Bug 415789: NPE in ScannerConfigBuilder
An implementation of IEnvironmentVariable is returning null for its key
or value.  The javadoc on this interface doesn't mention null, which I
guess makes it a valid value.

This patch checks the result before trying to put it into an instance of
java.util.Properties.

Change-Id: Ic04ddd72dfb558ca403b549b64847c3437971407
Signed-off-by: Andrew Eidsness <andrewe@jfront.com>
Reviewed-on: https://git.eclipse.org/r/15820
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-08-29 11:00:28 -04:00
Nathan Ridge
07709b85ce Bug 400940 - Friend constructor reported as syntax error
Change-Id: I0cbe6b9285b1e26abb985e6582e534132acb0c6c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15837
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-08-27 17:43:08 -07:00
Nathan Ridge
9745cb9826 Bug 413204 - "field could not be resolved" error in function returning
function pointer (really fixed this time)

Change-Id: Ica4255ca554db6952248fe1fae53d188a1b78d75
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15840
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-08-26 19:38:20 -07:00
Nathan Ridge
c68190a67c Bug 394048 - parser confusion about octal double
Change-Id: I4184acdeb4909022a2e2b30830530bd33a4897f3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15839
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-08-26 13:46:40 -07:00
Nathan Ridge
5cb56f98bc Bug 400204 - Unexpected syntax error in C struct declaration
Change-Id: Idc8450517362e6f6d9f00c9dfc13034d6de456a2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15838
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-08-26 13:45:21 -07:00
Nathan Ridge
94cd955415 Bug 401152 - Incorrect semantic error in class template specialization
Change-Id: I962872a55bcc34f6ebfb944b7406c94af8f8d489
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15834
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-08-26 13:43:50 -07:00
Sergey Prigogin
df02b36e8f Bug 415914 - Organize Includes doesn't add include for a constructor
call
2013-08-26 13:35:39 -07:00
Markus Schorn
6af4664b61 Bug 411605: Improved fix for regression in ResourceLookup, such that
project description is loaded less often.
2013-08-26 15:00:12 +02:00
Markus Schorn
20a8486993 Bug 411605: ResourceLookup should honor the PathCanonicalization strategy. 2013-08-26 14:36:52 +02:00
Markus Schorn
d7faff7538 Bug 411605: Fix for regression in resource lookup. 2013-08-26 14:36:02 +02:00
Sergey Prigogin
b131e456e4 Bug 412519. Avoid using deprecated getScannerExtensionConfiguration()
method
2013-08-25 17:23:36 -07:00
Sergey Prigogin
14343892d3 Bug 414694. Don't need to format changes when they only delete code. 2013-08-24 18:19:23 -07:00
Sergey Prigogin
4bf5b9a3d8 Bug 415808 - Organize Includes command doesn't add includes for template
arguments
2013-08-23 21:52:01 -07:00
Sergey Prigogin
17336298b3 Cosmetics. 2013-08-23 21:50:36 -07:00
Sergey Prigogin
b1c45c2a12 Revert "More version changes."
This reverts commit f7587615bb.
2013-08-23 09:15:58 -07:00
Sergey Prigogin
f7587615bb More version changes. 2013-08-22 20:00:17 -07:00
Andrew Gvozdev
a0abf7f321 bug 415286: Autobuild of a C++ project enters an infinite loop 2013-08-22 21:00:25 -04:00
Sergey Prigogin
cb343b5f74 Bug 414694 - Forward declarations inserted by Organize Includes have to
honor formatting preferences
2013-08-22 17:06:32 -07:00
Sergey Prigogin
9537786604 Cosmetics. 2013-08-22 17:02:34 -07:00
Sergey Prigogin
9eb13f0047 Bug 415702 - Invalid thread access in IncludeCreator.findContribution
method
2013-08-22 17:00:28 -07:00
Chris Recoskie
cfcc26608c Bug 413080 - IllegalArgumentException in Indexer preference page 2013-08-22 14:26:42 -04:00
Sergey Prigogin
b7d7630bda Bug 415394 - Function parameter types allowing implicit conversion from
other types should not be forward-declared
2013-08-19 20:44:25 -07:00
Sergey Prigogin
c9a53b072d Bug 414624. Removed unused externalized strings. 2013-08-19 20:43:05 -07:00
Sergey Prigogin
19d14aa167 Bug 415388 - NPE in ASTBuiltinName.getAdapter 2013-08-19 14:07:18 -07:00
Sergey Prigogin
d1e900bd10 Bug 45203. Export header substitution maps in canonical order. 2013-08-19 14:05:59 -07:00
Nathan Ridge
b3b9eb576e Bug 414279 - Derived class method that overrides a base class method
brought into the derived scope with a using-declaration

Change-Id: Ibeb49dddb7ef3768ffd4964e22a139afba8690fb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15573
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-08-19 13:59:42 -07:00
Sergey Prigogin
2db05f1b64 Adjusted JavaDoc.
Change-Id: Ib26ad3815f8516aa73455329f673e4711533e253
2013-08-19 13:58:31 -07:00
Glen Anderson
09b4cb096f Fix for Bug 414525 Product preferences ignored in console preferences
page

Change-Id: I76ada4dcdf1dfd89fe71a854423cfdc0f26bfe6a
Signed-off-by: Glen Anderson <glen.anderson@analog.com>
Reviewed-on: https://git.eclipse.org/r/15177
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-08-16 17:46:31 -04:00
Sergey Prigogin
83d7209763 Bug 45203. Added few tests and fixed bugs uncovered by them. 2013-08-15 10:37:42 -07:00
Sergey Prigogin
6b95df5d67 Bug 45203. Added a test for indirect header export and fixed a bug
uncovered by the test.
2013-08-15 10:37:04 -07:00
Sergey Prigogin
3d1f02ef15 Bug 414624 - Add Include command doesn't honor Organize Includes
preferences
2013-08-14 10:01:34 -07:00
Sergey Prigogin
ef9d910d5f Cosmetics. 2013-08-14 09:34:46 -07:00
Sergey Prigogin
e9ef1ef7fe Bug 414838 - New class creation doesn't properly handle include path
with directories for non-system headers.
2013-08-11 21:47:35 -07:00
Marc-Andre Laperle
3ed44ffc55 Bug 414827 - ClassCastExceptions in ToggleNodeHelper using C file
Change-Id: Ia98176f3a532432a02758c23cc515566d83b3efd
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15325
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-08-11 16:10:30 -04:00
Sergey Prigogin
a2a965e83e Bug 45203. Added substitution rules for few additional standard C++
headers.
2013-08-08 11:27:37 -07:00
Sergey Prigogin
b042de243a Bug 414624. First step towards code reuse between Add Include and
Organize Includes commands.
2013-08-07 20:35:59 -07:00
Sergey Prigogin
e2ef1d3d9f Bug 45203. A preference for forward-declaring external variables. 2013-08-07 11:53:34 -07:00
Sergey Prigogin
d995ec8bbe Bug 45203. Allowed partner indirect inclusion by default. 2013-08-07 11:49:45 -07:00
Sergey Prigogin
d391fe1c2f Bug 45203. Transitively close header substitution maps before applying
them.
2013-08-06 20:37:42 -07:00
Sergey Prigogin
5de251e861 Bug 45203. Include call stack in the error message. 2013-08-06 20:35:53 -07:00
Sergey Prigogin
9218e9772d Bug 45203. Eliminated formard declarations for bindings defined or
declared in included headers.
2013-08-06 18:56:50 -07:00
Sergey Prigogin
584581546e Bug 45203. Fixed a bug and added test for function calls with reference
parameters.
2013-08-06 15:37:32 -07:00
Sergey Prigogin
fe19d016ad Bug 45203. Don't forward declare types of function parameters since
the header containing the function declaration must declare them.
2013-08-06 14:26:25 -07:00
Sergey Prigogin
a2ac17aa17 Bug 45203. Fixed a bug in handling of pointer-to-typedef function
parameters.
2013-08-05 20:35:53 -07:00
Sergey Prigogin
bdcf204257 Bug 45203. Special handling for user-provided hash functors. 2013-08-05 20:35:31 -07:00
Sergey Prigogin
9b03c5aa82 Bug 45203. Proper handling of NULL function arguments. 2013-08-05 16:58:36 -07:00