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

22628 commits

Author SHA1 Message Date
Xavier Raynaud
95c8e7ffdd Bug 429124 - MIThread, MIThtreadInfo, MIThreadInfoInfo can be overridden
Change-Id: If08bc919031bbe675ca59b90c0c2b782a59841a7
Signed-off-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-on: https://git.eclipse.org/r/22553
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-03-11 07:07:20 -04:00
Sergey Prigogin
e91e3669b7 Bug 429928 - False "invalid overload" due to undetected instantiation
failure.

Change-Id: I6f89baa929560468eb899255875865e29d254218
Reviewed-on: https://git.eclipse.org/r/23171
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-11 00:04:30 -04:00
Sergey Prigogin
d3793be6d1 Consistent capitalization of SFINAE in test names. 2014-03-10 10:14:20 -07:00
Sergey Prigogin
78c1d3237b Bug 430029 - CPPASTBaseDeclSpecifier.copy() doesn't copy isThreadLocal. 2014-03-10 10:10:34 -07:00
Thomas Corbat
b5cf6c388c Bug 427539 - C++11 attribute implementation
- Implemented C++11 attributes without breaking the current API for
attributes in CDT. Added attribute specifiers according to the standard,
which can be added to attribute owners and contain ICPPASTAttributes
themselves.
- Adapted current attribute implementation (Tokens and Offsets) to be
writable by ASTWriter.
- Added integration of GNU attributes into the AST for several missing
cases.

Change-Id: Ifb6a05989f0b4da0d504be24213df86c66428060
Reviewed-on: https://git.eclipse.org/r/22555
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-10 13:01:47 -04:00
Nathan Ridge
a2a05a515a Bug 372004 - Locally declared extern variable
Change-Id: I33d634d6c63138910b2958b81f6d8df358e89e7d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23098
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-10 12:44:07 -04:00
Teodor Madan
c52eee2c40 Bug 429982 - GDB Hardware debug fails to start when using symbols with
offset in debug configuration

Use "add-symbol-file" instead of "add-sym"

Change-Id: Ie52eb32bbdca8c18223fbfdab0217afdb24f4465
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/23107
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-03-10 08:56:41 -04:00
Nathan Ridge
b930b2d66a Bug 429361 - 'u8' token after #ifdef
Change-Id: Idc780473ca6356397f6466adff7ad0ee92a23fd0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23087
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-09 19:46:19 -04:00
Nathan Ridge
83d0b2be3e Bug 429928 - SFINAE when resolving address of function
Change-Id: I2edb6becd4b79c7943e1e4b7c046afb25e398a31
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23090
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-09 13:14:40 -04:00
Sergey Prigogin
6e2d669821 Improved logging of indexer statistics. 2014-03-07 14:08:46 -08:00
Nathan Ridge
e74d8ad4d6 Bug 424898 - Parenthesis around reference argument in C++ file
Change-Id: Ief6cf4daa396a48f11a1aa5bcbec0746f6421ef0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23024
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-07 02:14:37 -05:00
Sergey Prigogin
c0e82d24a7 Bug 429837 - Unresolved symbol with declspec and const. 2014-03-06 22:47:18 -08:00
Sergey Prigogin
f5238bf93f Reduced use of deprecated types and methods. 2014-03-06 15:15:19 -08:00
Sergey Prigogin
c6557f0a86 Added InstanceOfPredicate. 2014-03-06 12:02:47 -08:00
Sergey Prigogin
aae4792550 Bug 429624 - Template function resolution problem when using index. 2014-03-05 20:04:12 -08:00
Thomas Corbat
551f5eb2df Fix for failing comment handling test (Windows only).
Change-Id: I2723d04a9de5088bcd7de6b05d833d0d5d059bf3
2014-03-05 15:46:36 +01:00
Nathan Ridge
9f9ed938d2 Bug 425033 - Restrict name lookup to types when
elaborated-type-specifier is present

Change-Id: Ib4e681056edfab92d19072ccc74a54ffd7cec418
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/22835
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-04 15:15:28 -05:00
Sergey Prigogin
68b2dd67dc Minor code cleanup. 2014-03-03 15:35:52 -08:00
Sergey Prigogin
f36a34d6a5 Bug 425595 - Opening 'C/C++ General-> Formatter' of a project properties
cuases NPE
2014-03-03 15:07:36 -08:00
Serge Beauchamp
612cecbc3c Bug 418114 - Build artifact name can be set to an empty string, causing
a cluster of build errors

Change-Id: Ief7eca369edf60aa1a064495a7da98089cb88d5d
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/16805
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-03-01 14:09:59 -05:00
Sergey Prigogin
4918f94f20 Cosmetics. 2014-02-28 13:38:39 -08:00
Sergey Prigogin
843cd2bf00 Bug 429364 - NPE in Organize Includes. 2014-02-28 13:38:22 -08:00
Ling Wang
06854adaef Bug 414519: [Memory View] user specified start address is not honored.
Change-Id: I0e72b6a4d685197191427c93b67b9a96d80da682
Signed-off-by: Ling Wang <ling.wang@silabs.com>
Reviewed-on: https://git.eclipse.org/r/15214
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-28 15:34:59 -05:00
Andrew Eidsness
f7d49e5bde Bug 425711: User preference to limit tokens per translation unit
This adds a new scalability preference that aborts parsing when too many
Tokens are created for a single translation unit.  This is a heuristic
that fairly close predicts the files that will be too complex for the
indexer to handle.

The token counter is disabled by default.

When it is enabled, the default token limit is 25,000,000.  This value
was determined by counting the number of Tokens produced for each
translation unit in the boost-1.55.0 sources:

sqlite> select * from counts where count > 10000000;
count       location
-----------------------------------------------------------------
100000001   libs/local_function/test/all_decl.cpp
100000001   libs/local_function/test/all_decl_seq.cpp
100000001   libs/local_function/test/all_decl_seq_nova.cpp
100000001   libs/preprocessor/doc/examples/array_arithmetic.c
99808587    libs/function_types/build/preprocess_arity_loops.cpp
62380381    libs/preprocessor/doc/examples/delay.c
58096841    libs/serialization/performance/xml/string256_test.cpp
58096828    libs/serialization/performance/xml/int256_test.cpp
52898416    libs/mpi/src/python/collectives.cpp
52573708    boost/spirit/home/support/char_encoding/ \
                  unicode/create_tables.cpp
21315014    libs/utility/binary_test.cpp
18799536    libs/math/test/test_rational_instances/ \
                 test_rational_double1.cpp
17758615    libs/mpl/test/string.cpp
13100401    libs/container/bench/bench_set.cpp
11976021    libs/local_function/example/const_block.cpp
11381198    libs/math/test/test_tr1.cpp
10432186    libs/parameter/test/preprocessor.cpp

This value means that the indexer will process all files in boost
without running out of memory on a 1Gb heap.

Change-Id: Ia9fc73dfb38454cc8735f537e3ac6e661864fb4f
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/22386
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-02-27 12:49:35 -05:00
Teodor Madan
4aa3f06bb4 Bug 428990 - Breakpoint problem marker has a too generic error message
Propagated GDB error message up to the top level

Change-Id: I98b33a4d35af7b0bc3582dfa1572cd6a5bc07b58
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/22511
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-27 11:02:49 -05:00
Marc Khouzam
d786838a0a Update GdbMemoryBlockRetrieval and DsfMemoryBlockRetrieval to fix
warnings.

Change-Id: I57a352b92b46f1e381185a72e41d534bc4f3ca45
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22582
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-02-27 09:55:46 -05:00
Marc Khouzam
37166d6194 Bug 426730: Update tests to reflect that $1 is now being used when
launching

Change-Id: I4fc617ca73f505fd81da17594510ff6f5a00c4e9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-26 13:41:46 -05:00
Alvaro Sanchez-Leon
e49589af70 Bug 426730: [Memory] Support 16 bit addressable size
Change-Id: I1fa5498eebe66cc6febbfaf72c4e433bdfab48ed
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/22118
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-26 10:59:03 -05:00
Marc Khouzam
0b2adb5223 Bug 429157: Udpate tests to better test memory console change
Change-Id: I418919c208ab456ce7edbc45edd61d11b54eecd2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-26 10:46:16 -05:00
Alvaro Sanchez-Leon
d15325f7bd Bug 429157: memory-changed event may not trigger an update for the
proper number of octets

Change-Id: If75056bc5d7a752dfa6110affb4bd03e17b2aafa
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/22573
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-26 10:42:44 -05:00
Lukas Felber
c558463abe Bug 427002. [ast rewrite] Comments originating from other translation
units are now automatically taken into consideration when rewriting.

Change-Id: If535ab6cdd1ec293a0d95a6f726d848f6348f0ed
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/21761
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2014-02-26 10:16:13 -05:00
Marc Khouzam
8000c7fe61 Create GDB tests for potential upcomding version 7.8. This will allow
for us to test early.


Change-Id: Ida162d6244ce5abd12d59ee3bbd526881197c847
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-25 09:53:23 -05:00
Marc Khouzam
bc33b70feb Create GDB tests for version 7.7
Change-Id: I19f60848e5cc12be151f5028127bbc3daf650833
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-25 09:53:12 -05:00
Marc Khouzam
6787eb71f9 Change some test names to be consitent.
This will allow a script to parse them.

Change-Id: I30f9b53bffa1b2c24ec68f4bad206f098bf7fa48
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-25 09:53:01 -05:00
Markus Schorn
d6b443f67a Bug 428922: Class cast exception parsing expression ambiguity within delete expression.
Signed-off-by: Markus Schorn <markus.schorn@windriver.com>
2014-02-24 16:46:31 +01:00
Teodor Madan
710efe52ec Bug 427898: Allow changing breakpoint type
Change-Id: Ia71395c15bb995edb25e7a910eb98b81a9a8c4f6
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/21809
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-02-24 07:26:49 -05:00
Markus Schorn
4f2fe55e90 Bug 413396: Language cannot be determined for files without extension.
Change-Id: I31579f0eb33f0797dd09dab0c2de9de88967fd4d
Signed-off-by: Markus Schorn <markus.schorn@windriver.com>
Reviewed-on: https://git.eclipse.org/r/22362
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2014-02-24 06:52:00 -05:00
Teodor Madan
ce1620f8cc Bug 428725 - Severity selection from Coda Analyses preferences should
not allow not supported values.

Create  ComboBoxCellEditor with SWT.READ_ONLY style

Change-Id: I5d1bbc94ffb6df17be092108c1e45133849cea3e
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/22363
Tested-by: Hudson CI
2014-02-23 15:45:37 -05:00
Thomas Corbat
7b74217a34 Bug 427730 - Fix for missing suggestion in content assist for typedef
Change-Id: I1395ab30b73ab972bd7edf90205c206e363b7fd8
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/22233
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-02-21 02:29:48 -05:00
Sergey Prigogin
6677a74ae0 Removed redundant methods. 2014-02-18 18:05:42 -08:00
Sergey Prigogin
0c0523d642 Cosmetics. 2014-02-18 17:15:21 -08:00
Dan Ungureanu
c6630246d9 Bug 428367 - Fixed missing title for Properties dialog
Change-Id: I5abc99be6aa8bf02b84a549c3c11fd929e9acbc7
Signed-off-by: Dan Ungureanu <dan.ungureanu@freescale.com>
Reviewed-on: https://git.eclipse.org/r/22149
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-18 09:37:26 -05:00
Marc Khouzam
1ea82aff04 Bug 427958 - Update version of o.e.cdt.ui and @since tags for CDT 8.4
Change-Id: I84bccf9bdc6e169624908fee106080f840843e28
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-15 07:34:47 -05:00
Sergey Prigogin
62ba90a145 Bug 427958 - Extension mechanisms for Find References and Call Hierarchy
This change introduces two new extension points - callHierarchyProviders
and externalSearchProviders.

Change-Id: I5e2e5e6c17b596eddfebe97b6be32a7cc62954f6
Reviewed-on: https://git.eclipse.org/r/21862
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-02-14 16:58:45 -05:00
Andrew Gvozdev
60068393a1 bug 428230: What's New and Noteworthy in CDT 8.3? 2014-02-14 16:43:56 -05:00
Marc Khouzam
92ef95ddeb Bug 341731 - Use String.format instead of Message.format
Change-Id: I11aab806dcb279ba7916d98dfc1202e9143ba77d
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-13 14:43:12 -05:00
Marc Khouzam
2a935a9926 Bug 341731 - Show values returned from function calls when doing a
step-return operation

Change-Id: I4ac5c64a940ffcbe75b21618a74f2c4eba93d27e
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15377
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-02-13 14:38:56 -05:00
Sergey Prigogin
2186138b87 Bug 428041 - NPE in ReturnChecker 2014-02-12 13:03:02 -08:00
Serge Beauchamp
493f6ad273 Bug 418817 - Control dependency is not observed after clicking "Restore
Defaults" button

Change-Id: I7f0aaac8f227c7f2ca0e05e144a7f1862d7bea95
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/17110
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-02-11 18:36:03 -05:00
Sergey Prigogin
15fb26ea6a Cosmetics. 2014-02-11 14:10:07 -08:00