Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-19Bug 543038 - Implement brace elision for aggregate initializationHannes Vogt4-114/+208
Change-Id: I72e92c8c196bf201c8edfde64598a7318d2fdfeb Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-02-02Bug 543819 - NPE in EvalFunctionSet.isEquivalentTo()Nathan Ridge1-0/+3
Change-Id: I4f443f95c1a9bff7150abec323ab8afc576d5f00
2019-02-01Bug 543913 - False negative in ctor with wrong argumentsHannes Vogt3-1/+55
Change-Id: I3a9c692383c5c9d8c465d9ecbc66463b39d5199d Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-15Bug 542448 - Return ProblemBindings in list initializationHannes Vogt2-2/+13
- Return ProblemBinding if conversion from init list failed - In conversion: don't allow implicit conversion with explicit ctor Change-Id: I3145b89df778a035ced9999aff4d8a4164eac17f Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-08Bug 541717 - Partial ordering and DR1395Hannes Vogt1-21/+38
- As of [temp.func.order] p5 only parameters for which there are explicit arguments should be considered. - Implement [temp.deduct.partial] p11 (resolution of DR1395). Change-Id: I56262229a6fe4717c22aac814aa9ea42eb37a10d Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-05Bug 541549 - Pack expansion expression in type of alias templateNathan Ridge3-3/+21
Alias templates can be instantiated with dependent arguments, which can themselves contain a pack expansion, so we need to take care that pack expansion expressions are instantiated correctly. This was previously fixed for pack expansions of types and template arguments in bug 486971. The patch also fixes a bug in CPPTypedef.getType() where alias declarations weren't handled correctly. (This bug would only occur during debugging as normally the type would be computed via setType(). Change-Id: Ie70a923fc9dd0f177b7bfb429b8f1387966b416d
2018-12-04Remove a few internal, deprecated methodsMarc-Andre Laperle1-7/+0
Change-Id: I073f7770a594ec226f7adf5d5022960a298608c7 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-12-01Rename instantiateCommaSeparatedSubexpressions() to instantiateExpressions()Nathan Ridge4-12/+12
instantiateCommaSeparatedSubexpressions() is a clunky name, and in C++17 (with fold expressions) the function will no longer be limited to comma- separated expressions. Change-Id: Id242f58bb291e79cefe2b28db12dbde4bafba4ed
2018-11-29Bug 541474 - Disambiguate function with default argumentHannes Vogt4-18/+34
Take number of explicitly passed arguments into account. Change-Id: If85f072d8b18f3fd1ca28f3c5688e864b0ffb4cd Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-11-29Bug 541670 - constexpr implies toplevel constNathan Ridge1-1/+3
Change-Id: I318a9293d12eeecb7f49bfba1acb849109fab666
2018-11-29Bug 540758 - Substitution of enclosing template parameters into expansion ↵Nathan Ridge2-3/+14
pattern Change-Id: Ib31db579c7d5a9be2f64fe992abac48c0e2b136a
2018-11-27Bug 540741 - Parameter pack in argument of alias template instance that's ↵Nathan Ridge1-0/+9
not present in the target type Change-Id: Ic5a5d0b25d88bac4074cb78aec17a1311a51d75d
2018-11-24Bug 540549 - Have all template parameter bindings implement ICPPUnknownBindingNathan Ridge16-36/+79
Change-Id: If09679f2d56c987175a8d85514da37840ac71205
2018-11-24Bug 541118 - NPE in AbstractIndexerTask.getOffsetNathan Ridge1-1/+4
Change-Id: I7ce30369abfb31dbdcc87e4fe9d36ea35e48ad79
2018-11-23Bug 540373: Format some Java files that were missedJonah Graham2-4/+2
Some files which has other cleanups applied meant they needed to be reformatted again. e.g. the removing of type parameters shortened some lines of code that meant the wrapping changed. Change-Id: I68ca09567b9530cc2a085c33923642b6de2ec77b
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

Back to the top