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

12275 commits

Author SHA1 Message Date
Sergey Prigogin
103f577926 Moved testU8TokenAfterIfdef_429361 to AST2Tests 2014-04-18 12:24:27 -07:00
Sergey Prigogin
ede42e1820 Minor performance optimization. 2014-04-17 10:35:30 -07:00
Sergey Prigogin
63cb636c7a Improved an inefficient algorithm in
LocationMap.getSequenceNumberForFileOffset.
2014-04-16 20:39:54 -07:00
Sergey Prigogin
48fc8d0809 Cosmetics. 2014-04-16 18:37:45 -07:00
Sergey Prigogin
e4b3bce29b Minor performance optimization. 2014-04-16 17:34:29 -07:00
Sergey Prigogin
33a2f3c025 Cosmetics. 2014-04-16 16:45:28 -07:00
Sergey Prigogin
4381cc5da1 Fixed integer overflow in binary search methods. 2014-04-16 12:10:39 -07:00
Nathan Ridge
84289fb454 Bug 399149 - Add missing @since tags
Change-Id: I62a60c55157202ec9ec65a5b8bf090ba72f74d1a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/25020
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-15 11:51:07 -04:00
Brad Chiu
84974e6725 Bug 427401 - Failure to Parse addr2line binutil output
Fixed Addr2line.java

Change-Id: I9b42e8925c86e238ce6dc610d9e0617b11981f42
Signed-off-by: Brad Chiu <brad@andestech.com>
Reviewed-on: https://git.eclipse.org/r/24935
Tested-by: Hudson CI
Reviewed-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-04-15 11:33:46 -04:00
Nathan Ridge
a290bdac7e Bug 399149 - Semantic highlighting for context-sensitive keywords
Change-Id: Ied967abed9291eb2e9548f23bf2fbb41e898aec2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24513
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-14 12:33:47 -04:00
Nathan Ridge
f699ed76a0 Bug 432703 - 'Open Declaration' in parameter referencing previous
parameter

Change-Id: I3ea07345093c7d3663de70fb534532bbdf0bd191
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24933
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-14 12:33:02 -04:00
Marc Khouzam
e0154961f6 Missing @since tag
Change-Id: Iedd6ba94848cebf7fce26677c4c0d512fd114fdb
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-14 09:44:22 -04:00
Nathan Ridge
d66e5c04bf Bug 429891 - Limit the total number of computation steps in a constexpr
evaluation

Change-Id: I057d94a78e92d26c9ad824b2ea0c6a4ad896e948
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24925
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-13 21:20:31 -04:00
Sergey Prigogin
ec10b77e67 Cosmetics. 2014-04-12 10:50:32 -07:00
Sergey Prigogin
79a2087bfd Revert "Bug 379684 Support for User Defined Literals"
This reverts commit f5942dac81.
2014-04-12 10:49:35 -07:00
Nathan Ridge
aeb5ad721f Bug 432643 - Implement compositing for enum scopes
Change-Id: I0e96f4d831bd1be0325262d1f77fab5dd05ddbe7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24898
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-12 12:49:26 -04:00
Richard Eames
f5942dac81 Bug 379684 Support for User Defined Literals
This patch adds preliminary support for C++11 user defined litrals:
* Syntax support
* Type deduction in expressions
* Template literal operators
* String literal concatenation

I made quite a few changes in CPPASTLiteralExpression so that it more
closely follows the spec when parsing numbers. And I'd like some
feedback on the changes I made to CPPSemantics with regards to 
template literal operators.

There are also some questions I have marked in comments, which I would
appreciate an answer to.

Change-Id: I242ecb8f5706f516a4c891fea268a668e5e4a694
Signed-off-by: Richard Eames <eclipse@naddiseo.ca>
Reviewed-on: https://git.eclipse.org/r/24367
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-12 12:47:34 -04:00
Sergey Prigogin
88d0024075 Bug 432547 - Introduce separate size limits for indexing of source and
header files
2014-04-11 18:53:34 -07:00
Sergey Prigogin
5c7a64d0fb Bug 432651 - Organize Includes removes an include necessary for defining
a method
2014-04-11 16:16:25 -07:00
Sergey Prigogin
41b9049afa PDOMManager has to wait for the indexer job to respond to cancellation. 2014-04-11 16:16:16 -07:00
Sergey Prigogin
362fe864f3 Cosmetics. 2014-04-11 16:16:07 -07:00
Sergey Prigogin
a94a29ae22 Fixed compiler warnings. 2014-04-11 16:15:40 -07:00
Sergey Prigogin
441d546d25 Use diamond operator. 2014-04-11 16:15:17 -07:00
Lukas Felber
8b64594a96 added missing extension less headers 'condition_variable' and 'ctgmath '
to cdt-file-types-list (as defined in c++ standard section 17.6.1.2)

Change-Id: Idbbba12655a72b24cd28aab71d9a613320a7e70c
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/24854
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-11 14:19:49 -04:00
Marc Khouzam
1b6d767400 Missing @since tags
Change-Id: I0e4f5bdd517d92c2e6f864be822cd578a51f237a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-11 09:25:47 -04:00
Doug Schaefer
48298d3923 JI:449069 Add filtering to the PDOM generator
Adds a -exclude option to list directories and files that are to be
excluded from the pre-built PDOM so we don't get header files that
users don't get suggest optional headers.
2014-04-10 16:31:28 -04:00
Doug Schaefer
6bbeb75bc0 JI:449069 Add filtering to the PDOM generator
Adds a -exclude option to list directories and files that are to be
excluded from the pre-built PDOM so we don't get header files that
users don't get suggest optional headers.

Change-Id: I4e06ccda2207f9955bb743006af8cf947c5d67f3
2014-04-10 16:31:20 -04:00
Marc Khouzam
b647093b94 Remove unused API filters
Change-Id: Ia3a53fec79973ccdec7d74d68fcc4f4621fe1cc7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:24:47 -04:00
Sergey Prigogin
71592307c1 Disabled a failing test. 2014-04-07 18:16:45 -07:00
Sergey Prigogin
c24990c2ad Added more detailed error messages. 2014-04-07 17:42:40 -07:00
Sergey Prigogin
1e1afcf3ce Cosmetics. 2014-04-07 17:37:52 -07:00
Sergey Prigogin
201e1243dd Removed a redundant check. 2014-04-07 12:01:20 -07:00
Nathan Ridge
cff738fe0b Bug 430282 - Limit recursion depth when processing inheritance
hierarchies

Change-Id: Ia9d9f379cb61e8d8bc8d1fb33f893fcd2a0688a2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23957
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-06 20:56:18 -04:00
Nathan Ridge
b4d65483ed Bug 432059 - Fix an "unsafe method call" error
Change-Id: I513a922c9ef6a55c33f5767830aabecaba9da396
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24512
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-06 20:54:33 -04:00
Sergey Prigogin
535f975b47 Bug 431945 - Unresolved template function with typedef. 2014-04-03 21:00:19 -07:00
Sergey Prigogin
ed4784c133 Cosmetics. 2014-04-03 21:00:10 -07:00
Doug Schaefer
5a6ebce09c Adjustments to adaptBinding stackOverflow solution.
Wrapped the method in try/finally and made inProgress thread local.
2014-04-03 15:06:43 -04:00
Doug Schaefer
1c70ddf64a Bug 429196 Eliminate StackOverflow on adaptBinding.
A pretty simple and kludgy fix to the problem, but if we detect that
we are adapting a binding that we are just in the middle of adapting,
we bail and return null. Added Andrew's JUnit that reproduces the
problem in case someone wants to try a better solution.

Change-Id: Ib4a85c161be6aee073fee7ac0501464b70020fac
Reviewed-on: https://git.eclipse.org/r/24396
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
Reviewed-on: https://git.eclipse.org/r/24409
Tested-by: Hudson CI
2014-04-03 14:02:22 -04:00
Sergey Prigogin
2e7fd0da20 More efficient ordering of conditions. 2014-04-01 10:35:05 -07:00
Sergey Prigogin
5850c01893 Bug 431596 - NPE in BindingCollector.leave. 2014-04-01 10:33:37 -07:00
Lukas Felber
8c3ba9ec2d Bug 431684 - Intermittent test failures in IndexBugsTest
Improved reliability of BaseTestCase.waitForIndexer method.

Change-Id: Ifcfb4e90a1595e6cc2bc90856daad6cd265b6247
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/24080
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-01 13:32:09 -04:00
Sergey Prigogin
98e690291a Cosmetics. 2014-03-31 14:17:43 -07:00
Sergey Prigogin
6b32a922ba Cosmetics. 2014-03-31 11:15:19 -07:00
Sergey Prigogin
14bea54256 Cosmetics. 2014-03-31 10:44:07 -07:00
Sergey Prigogin
4d2a57889c Cosmetics. 2014-03-25 15:35:37 -07:00
Sergey Prigogin
fa7aff1975 Fixed an "Unsafe method call" exception. 2014-03-25 15:32:42 -07:00
mhussein
f9e4bbf0a3 Bug 430610: Fix ClassCast in TemplateEngineUIUtil.showError
Change-Id: I12505001e3c2fa1ee996ad5ba55ab615be34c731
Signed-off-by: mhussein <mohamed_hussein@mentor.com>
Reviewed-on: https://git.eclipse.org/r/23550
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-03-24 13:59:20 -04:00
Nathan Ridge
2384c6442a Bug 429891 - Fold conditional expression when condition's value becomes
known

Change-Id: Ic241428937864d2c93f6d252386c89fcd3172974
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23768
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-24 12:31:56 -04:00
Doug Schaefer
35daa1d321 PR 383941 - Support binaries with dots in their name. 2014-03-24 11:25:45 -04:00
Marc-Andre Laperle
274b07f70f Remove test interdependencies in CPathEntryTest
testCPathEntries verifies the presence of the default path entries.
testPathEntryContainer modifies the path entries. Because the same
project is being used, if testPathEntryContainer executes first,
testCPathEntries fails. By creating and deleting the project every
time, the problem is fixed.

Also, removed some unnecessary code than seemed copy pasted but not actually used.

Change-Id: Ifcd06d3a133f29b5ce9e2e0fdee34e9493377625
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23756
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-23 23:49:38 -04:00