1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00
Commit graph

11920 commits

Author SHA1 Message Date
Andrew Eidsness
5dbcc8ec21 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-28 17:23:23 -04:00
Jacek Sieka
3e0f5e9e44 Bug 402601. Don't allow EvalTypeId.fArguments to be null to avoid NPE:s
in dependent code.

The most probable case of arguments being null was fixed in
ea53c271c9.

Change-Id: I9d90bd0d4d09839ff9ed0cbc79e599485e878513
Signed-off-by: Jacek Sieka <arnetheduck@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15522
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 21:16:46 -04:00
Nathan Ridge
06cea4bc3c 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 20:12:59 -04:00
Andrew Gvozdev
652ce4748e Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
Nathan Ridge
8a58b3aa23 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 20:48:26 -04:00
Nathan Ridge
4fdb748881 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 16:35:57 -04:00
Nathan Ridge
404b6d7283 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 16:34:41 -04:00
Nathan Ridge
7fc4c9b937 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 16:32:00 -04:00
Sergey Prigogin
50c5677fcf Bug 415914 - Organize Includes doesn't add include for a constructor
call
2013-08-26 13:24:53 -07:00
Markus Schorn
ecdbe69720 Bug 411605: Improved fix for regression in ResourceLookup, such that
project description is loaded less often.
2013-08-26 14:59:43 +02:00
Markus Schorn
11c76639db Bug 411605: ResourceLookup should honor the PathCanonicalization strategy. 2013-08-26 14:25:48 +02:00
Markus Schorn
5b435a691d Bug 411605: Fix for regression in resource lookup. 2013-08-26 13:55:38 +02:00
Sergey Prigogin
40f2edf0d9 Bug 412519. Avoid using deprecated getScannerExtensionConfiguration()
method
2013-08-25 09:32:58 -07:00
Sergey Prigogin
9f3c46474e Bug 414694. Don't need to format changes when they only delete code. 2013-08-24 18:03:43 -07:00
Sergey Prigogin
7c4c09cb65 Bug 415808 - Organize Includes command doesn't add includes for template
arguments
2013-08-23 21:44:21 -07:00
Sergey Prigogin
84da897957 Cosmetics. 2013-08-23 21:26:52 -07:00
Andrew Gvozdev
ed74138b16 bug 415286: Autobuild of a C++ project enters an infinite loop 2013-08-22 20:55:44 -04:00
Sergey Prigogin
73e87bf305 Bug 414694 - Forward declarations inserted by Organize Includes have to
honor formatting preferences
2013-08-22 16:53:07 -07:00
Sergey Prigogin
f99f12f4ed Cosmetics. 2013-08-22 16:50:42 -07:00
Sergey Prigogin
80ca2e52aa Bug 415702 - Invalid thread access in IncludeCreator.findContribution
method
2013-08-22 16:48:00 -07:00
Chris Recoskie
59b8242268 Bug 413080 - IllegalArgumentException in Indexer preference page 2013-08-22 14:28:45 -04:00
Sergey Prigogin
410adb2b01 Bug 415394 - Function parameter types allowing implicit conversion from
other types should not be forward-declared
2013-08-19 20:35:48 -07:00
Sergey Prigogin
75660e6087 Bug 414624. Removed unused externalized strings. 2013-08-19 17:19:34 -07:00
Sergey Prigogin
a0110b9296 Bug 415388 - NPE in ASTBuiltinName.getAdapter 2013-08-19 13:54:33 -07:00
Sergey Prigogin
9f51f9f990 Bug 45203. Export header substitution maps in canonical order. 2013-08-19 13:35:24 -07:00
Sergey Prigogin
c3576791fb Adjusted JavaDoc.
Change-Id: Ib26ad3815f8516aa73455329f673e4711533e253
2013-08-18 21:00:30 -07:00
Nathan Ridge
be4ec06f4b 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-18 21:42:34 -04:00
Glen Anderson
191382509c 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:42:38 -04:00
Sergey Prigogin
93af246156 Bug 45203. Added few tests and fixed bugs uncovered by them. 2013-08-15 10:27:55 -07:00
Sergey Prigogin
a0ac619929 Bug 45203. Added a test for indirect header export and fixed a bug
uncovered by the test.
2013-08-15 10:25:38 -07:00
Sergey Prigogin
ca5586f8be Bug 414624 - Add Include command doesn't honor Organize Includes
preferences
2013-08-14 09:27:35 -07:00
Sergey Prigogin
7ae8b48608 Cosmetics. 2013-08-14 09:23:29 -07:00
Sergey Prigogin
eca8e6004c Bug 414838 - New class creation doesn't properly handle include path
with directories for non-system headers.
2013-08-11 22:10:24 -07:00
Marc-Andre Laperle
1524122c03 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 15:49:12 -04:00
Sergey Prigogin
5a3fe46fd9 Bug 45203. Added substitution rules for few additional standard C++
headers.
2013-08-08 11:20:32 -07:00
Sergey Prigogin
e132ade3f4 Bug 414624. First step towards code reuse between Add Include and
Organize Includes commands.
2013-08-07 20:30:39 -07:00
Sergey Prigogin
fba15d74dc Bug 45203. A preference for forward-declaring external variables. 2013-08-07 11:40:50 -07:00
Sergey Prigogin
073237d901 Bug 45203. Allowed partner indirect inclusion by default. 2013-08-07 11:28:45 -07:00
Sergey Prigogin
339a621521 Bug 45203. TRansitively close header substitution maps before applying
them.
2013-08-06 20:33:24 -07:00
Sergey Prigogin
ab015da9d3 Bug 45203. Include class stack in the error message. 2013-08-06 19:30:15 -07:00
Sergey Prigogin
9d1ea68fe6 Bug 45203. Eliminated formard declarations for bindings defined or
declared in included headers.
2013-08-06 18:48:44 -07:00
Sergey Prigogin
d27cdd90ca Bug 45203. Fixed a bug and added test for function calls with reference
parameters.
2013-08-06 15:31:07 -07:00
Sergey Prigogin
d9d69d49a2 Bug 45203. Don't forward declare types of function parameters since
the header containing the function declaration must declare them.
2013-08-06 13:10:55 -07:00
Sergey Prigogin
9d234dcfce Bug 45203. Fixed a bug in handling of pointer-to-typedef function
parameters.
2013-08-05 20:31:50 -07:00
Sergey Prigogin
dd21c5ae58 Bug 45203. Special handling for user-provided hash functors. 2013-08-05 20:01:33 -07:00
Sergey Prigogin
3ddf467f4d Bug 45203. Proper handling of NULL function arguments. 2013-08-05 16:55:36 -07:00
Sergey Prigogin
f9aa816e58 Bug 45203. When choosing between equaly good headers prefer previously
included ones.
2013-08-05 15:38:37 -07:00
Sergey Prigogin
1bc312c517 Bug 45203. Added organizeIncludes.* preferences to C/C++ Code Style
preference export.
2013-08-05 12:34:03 -07:00
Sergey Prigogin
44dab709d9 Bug 45203. Added a test. 2013-08-05 11:47:30 -07:00
Sergey Prigogin
a9914d3620 Cosmetics. 2013-08-04 21:45:14 -07:00