Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-23Bug 540373: Cleanup: Remove trailing whitespace in properties filesJonah Graham2-19/+19
Command used: # Remove space at eol in comments find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} + # Remove space at eol in blank lines find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} + # Replace escaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} + # Replace unescaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} + # Replace escaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} + # Replace unescaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} + # Stage all changes git add -A . # trim any remaining whitespace and then identify and fixup # manually # Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties # needed this due to missing newline at end of the file find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} + Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
2018-11-22Bug 540373: Remove '(non-Javadoc)' commentsJonah Graham2-8/+0
These were inserted in the past automatically by Eclipse but newer tooling makes them redundant. These were removed by doing a global find/replace on *.java files using the following regular expression: \t/\*\n\t \* \(non-Javadoc\)[^/]*/\n Change-Id: I59d3248020f10934fde1dda5b5a31e20bb188e19
2018-11-22Bug 540373: Cleanup: Remove redundant type argumentsJonah Graham82-194/+194
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove redundant type arguments and completing the wizard Change-Id: Iaecc7010f097b4b1fabd29ccaa34ccb23a716fbf
2018-11-22Bug 540373: Cleanup: Remove unnecessary castsJonah Graham1-1/+1
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove unnecessary casts and completing the wizard Change-Id: I287d4066b12fc19d7f73a016e11c9405abb4ceb9
2018-11-22Bug 540373: Cleanup: Organize ImportsJonah Graham24-38/+45
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Organize Imports and completing the wizard Change-Id: Ia7b305a4c967d0e6f4e8fb8c1041e7028b24006c
2018-11-22Bug 540373: Cleanup: Format & Remove trailing whitespaceJonah Graham1244-38064/+39772
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Format source code - Remove trailing white spaces on all lines and completing the wizard Change-Id: I63685372c6bcc67719bcf145123bcb72e5b00394
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham1437-4311/+8622
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-20Bug 540373: Normalize newlines with .gitattributesJonah Graham6-440/+440
There is also a new script to verify completeness of .gitattributes: releng/scripts/verify_gitattributes.sh Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-11-17Bug 540957 - Implement equivalence checking for expressionsNathan Ridge30-2/+358
This is used for declaration matching in function templates. Change-Id: I80044304b2d9dfda085a13f0cfc040f1200a2e1c
2018-11-16Bug 540909 - underlying_type of typedef to enumNathan Ridge1-1/+4
Change-Id: Ic4f48c4da79419d5404e132da2944ee2823ca41f
2018-11-13Bug 512297 - Improve propagation of semantic problem IDsNathan Ridge1-1/+8
Change-Id: I3c95a244e88abe37f550370ff6c7c9aec2c102da
2018-11-06Bug 540676 - Improve parsing of alias templatesHannes Vogt1-3/+9
- If the argument for a template template paramter is unknown (ICPPUnknownType), don't create a problem. - Ensure that a possible argument-parameter mismatch is caught at template instantiation time. Change-Id: Ief61ef93f9d0c19d043aedb89f1c5e66c0374ef2 Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-11-02Bug 540450 - Fix @since versionHannes Vogt2-2/+2
Change-Id: I5c31d97dbbd277a87147cb05d0245ce0953189bb Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-31Bug 540450 - Parsing dependent template nameHannes Vogt5-5/+81
Parse dependent template names as type. Change-Id: I35461b2e4a615f34749e6ff17b2a85406ec2cf12 Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-29Bug 540538 - Pack size for CPPTemplateParameterHannes Vogt1-1/+5
Change-Id: Ie67f27711ca658e9b4b3526c5c3c28541dcd3a15 Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-10-29Bug 540159 - ClassCastException in ExecDeclarator.unmarshal()Nathan Ridge1-2/+10
Change-Id: Ia51244b558798c052f1ec7a6918c6f85a6509655
2018-10-29Bug 540112 - Perform C++14 return type deduction in ReturnCheckerNathan Ridge2-10/+29
As part of this change, ReturnChecker was refactored to compute the return type as an IType, which allowed for removal of some logic in ReturnChecker which duplicated CPPVisitor's type resolution work. Change-Id: I9cd8512164d650a5ee11d2e58fdae477e3c428a2
2018-10-11Bug 538069 - Save non-type template parameter...Hannes Vogt1-0/+3
... of template template parameter in index. Fixes false positive "Invalid template arguments". Change-Id: I82cd9aece8f03142cbdcf5d1058113684c29d6fe Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-09-30Bug 539535 - Refactor CPPSemantics.findOverloadedOperator() so that if ↵Nathan Ridge1-23/+40
something goes wrong during one of the member or non-member lookups, the other is still performed Change-Id: I34c1321a0aa943ee82d1e6c45cf33d97e2f5b5ca
2018-09-30Bug 539535 - Originate an accurate lookup point in ↵Nathan Ridge1-33/+38
CPPASTFieldReference.createEvaluation() Change-Id: I8030d5b304a61d7235a8ca92cf99de2d9a9aff68
2018-09-26Bug 518273 - Toggle function should remove the override keyword when moving ↵Marc-Andre Laperle2-7/+27
out of class Change-Id: I7ad80262c7f9b98d3ae9b23ae2b45bf0c94ccf99 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-09-25Bug 538615 - GNU-style attribute preceding standard attribute specifierNathan Ridge1-1/+3
Change-Id: I8f736ab354b07fb14cba35dec10c8b6d96917d70
2018-09-25Bug 539076 - Substitution of alias template for template template parameterNathan Ridge1-3/+9
Change-Id: Ide5a6858560b0aae1efd391215bc229bef5421e7
2018-09-18Bug 539052 - Add support for __is_constructible type trait intrinsicNathan Ridge9-8/+40
Change-Id: I582881808e19342bf55d62d6002365c3733ebf31
2018-09-17Bug 510152: ParserException in ASTAmbiguousNode.logAmbiguousNodeErrorHansruedi Patzen1-1/+2
If the fOperand of an CPPASTUnaryExpression is an ASTAmbiguousNode the fOperand.getEvaluation() call will always fail and log an error. Change-Id: Ie17c2685636e8956bf4724c206092cf0370ff5d9 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-09-11Bug 538517 - Proper handling of range-for with temporary as range expressionNathan Ridge1-1/+26
Change-Id: I41c0ab58810c656d2ed89c9f5110ebc559e29575
2018-09-02Bug 537942: Inactive include statements have wrong offsetsHansruedi Patzen1-1/+1
Fixed the bug and added a test for confirmation. Change-Id: I5d3c5f797d84b10b961dcfc178a5bbcc3becbd04 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-08-24Bug 537534 - Support binary expressions with an initializer-list as the ↵Nathan Ridge1-1/+1
second operand in CPPASTBinaryExpressions.acceptWithoutRecursion() Change-Id: Ifb37df94c9b33f7eeeca4ab041d8f0608377b8cd
2018-07-24Fix some @since tags because of new baseline and plugin versionMarc-Andre Laperle5-9/+9
Some changes in the cdt.core plug-ins happened without increasing the version number. With commit 00df140, the version was increased but now the @since tags do not match the version. Change-Id: I51bab190aa4be05e678487a6be0b5122cba8146a Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2018-07-24537217: [C++17] Add support for typename keyword for template template ↵Felix Morgner7-31/+84
parameters This patch allows for the 'typename' keyword to be used in template-template template parameter declarations. Additionally, this patch also fixes an issue in the writer, which caused the ellipsis in variadic template-template template parameter declaration to be dropped. Change-Id: I8f68e6053b2b8848b35d1cf6d25d7f4b5b9d396d Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=537217 Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2018-07-16Bug 536805 - NPE in CPPEvaluation.maybeApplyConversion()Nathan Ridge1-0/+4
Change-Id: I42e780f90aacf9383b722a8b82e441d4032d14e7
2018-07-16Bug 537013 - Comment is replaced along with nodeThomas Corbat2-0/+100
Provide functionality to remove a specific comment from ASTRewrite. Change-Id: I5e0b3c521616d2dd900f59b0863e45fb01f34df8 Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-07-08Bug 535777 - Disallow class body in trailing return typeNathan Ridge2-5/+12
Change-Id: I6e4d015cb3e1b12486f336db94ed71c234142b60
2018-07-01Bug 535548 - Infinite recursion loading function whose return type refers to ↵Nathan Ridge6-21/+51
a parameter from the index Change-Id: Ibff680983cc8ac0bd9d33d8f2247a9f0ca2fe2f3
2018-07-01Bug 535559 - Index search for entity inside toplevel anonymous namespaceNathan Ridge1-1/+2
Change-Id: I9fdc268819b2298d0b3aeb9db9c29f1a0158d2bb
2018-06-29Bug 536470: Fix NPE for includes outside workspaceJiří Engelthaler1-0/+3
Change-Id: I487823cf627680f61cf19d1228a84a3da68ce420 Signed-off-by: Jiří Engelthaler <engycz@gmail.com>
2018-06-26Bug 534330 - Use the full path of the file when inventing names for ↵Nathan Ridge1-12/+30
anonymous types Otherwise we can get clashes if two anonymous types happen to be at the same offset in files with the same name but different paths. Change-Id: Ia269a7c6fa1dc7e37d23d9333b245143d7c33e5d
2018-06-21Bug 535257: __declspec lost on AST rewriteHansruedi Patzen7-31/+130
Implemented new IASTMSDeclspec nodes. Change-Id: I2fbc0c2124a8158a457bae0e3cf95aa20ac8ac00 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-20Bug 535256: Rewrite removes attributes, key and base from C++ enumHansruedi Patzen6-10/+96
Fix and tests. Change-Id: I1f5519f833563378d87b3c932b754e29c3e32b06 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-20Bug 535274: Allow attributes on namespace definitionsHansruedi Patzen5-5/+21
Implementation and tests. Change-Id: I0cca9dea8630ae66b005856338342b4173c48216 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535275: Allow attributes on function parameter declarationsHansruedi Patzen5-6/+35
Implementation and tests. Change-Id: If64f1ee1aac79aa1ef3592fc8636686562298ffc Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535269: Allow attributes on enumeratorsHansruedi Patzen4-20/+23
C++17 feature. Implementation and tests. Change-Id: Idafe4ca41058e8387aeae9a27f028677c62245c0 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535331: Rewriting sizeof...() drops the parenthesisHansruedi Patzen1-2/+4
Fix and test. Change-Id: If54f24d833724f3c51ae0b6e7f325493e5110719 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-15Bug 535557 - Avoid setting a null lookup point in ↵Nathan Ridge1-2/+6
SizeofCalculator.sizeAndAlignment() Change-Id: I50974c7b74ef511aae96e2ce2a9a3b96ecbdb594
2018-06-14Bug 533552: Rewriting nodes with attributes causes attribute duplicationHansruedi Patzen3-24/+52
Fix and tests. Also fixes bug 535265, since the Codan Quickfix tests fail otherwise. Change-Id: Id31e40907b7ebdeee4a67c014c3a1b1cd37579ad Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-11Bug 531701 - ClassCastException inNathan Ridge1-8/+22
AttributeWriter.writeGCCAttributeSpecifier() * Added test to reproduce initial issue. Change-Id: I72e60fb2244b7d40492bfcdeaa58a8707c39e277 Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-03Bug 534813 - ASTWriter swaps noexcept and pure virtual specifierHansruedi Patzen1-4/+4
Fix and test Change-Id: I14088e69aed829940fb1e9f5197dedf18d9bb7a5 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-03Bug532849 Inline namespace not recognized by formatterHansruedi Patzen1-0/+3
Change-Id: Ie7f13884967685fcc93c8af3955d90825d6f9879 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-01Bug 534808 - static_assert without message not recognized (C++17)Hansruedi Patzen6-11/+57
Fix and test Change-Id: I785ecfd0715f1fa8ff86b87bd01d16ac6d5d5da2 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-05-29Bug 535196: [C++17] Support *this in lambda captureHansruedi Patzen2-0/+10
Implementation and tests. Change-Id: If32911514eb62078215b5f06be12289fa571e9a3 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>

Back to the top