Skip to content
Failed

Changes

Summary

  1. Updates to N&N for CDT 11.1 release (details)
  2. Consider variable templates while determining size of parameter pack (details)
  3. Fix type of value-dependent fold expression evaluation (details)
  4. Allow expansion with typeids in fold expression (details)
  5. Improved getting resources from the gcc commandline. (details)
  6. Defer resolving function set if target is deferred class or constructor (details)
  7. Fix assertion evaluating binary shifts of comparison op results (details)
  8. Resolve typedef before checking if type is unsigned (details)
  9. Allow const-qualified arg for __atomic builtins which accept that (details)
  10. Handle invalid empty c++17 fold expression early (details)
  11. Restore counting iterations in computeContainsDeclaration cycle detector (details)
  12. Return IntegralValue.UNKNOWN if recursed creating CompositeValue (details)
  13. Changed the template application to Hello World. (details)
  14. Correct year of 11.2 expected release (details)
  15. Issue #167 - Core Build Makefile project build output folder. (details)
  16. Binary not found in Core Build Makefile project (details)
  17. Handle null "DisplayName" in registry (details)
  18. CDT 11.1.1 Release Notes updates (details)
  19. Run Workflows on all branches and PRs (details)
  20. Add CDT 11.1.1 to p2 composite (details)
Commit 65ac74fad78667f0fded3076ab389ab75a307319 by Jonah Graham
Updates to N&N for CDT 11.1 release

Part of #202
The file was modified NewAndNoteworthy/CDT-11.1.md (diff)
Commit 4b4daec3b46f78b3286cb5a95bb8991526d50a8c by Jonah Graham
Consider variable templates while determining size of parameter pack
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.java (diff)
Commit a5d51f2def47058b639cfc8a1364c0e88ec455de by Jonah Graham
Fix type of value-dependent fold expression evaluation
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalFoldExpression.java (diff)
Commit 56e5da5aa573119e765da47e1b1d7d7b98710647 by Jonah Graham
Allow expansion with typeids in fold expression
The file was modified core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx17/FoldExpressionTests.java (diff)
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTFoldExpression.java (diff)
Commit a89ce59df232d5ffc3daf74ad9b2c14d28f08516 by Jonah Graham
Improved getting resources from the gcc commandline.

The old method assumed all resources were at the end of the line,
optionally followed by option -o.
Now the complete line is scanned for valid resource file extensions.
The file was modified build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/GCCToolChain.java (diff)
The file was modified build/org.eclipse.cdt.build.gcc.core/META-INF/MANIFEST.MF (diff)
Commit c69eed48e3038a36249ea031fc0ce56f91df7d47 by Jonah Graham
Defer resolving function set if target is deferred class or constructor
The file was modified core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java (diff)
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java (diff)
Commit f1c15e3a3d753f38fb7808f3c756abda5c7f494b by Jonah Graham
Fix assertion evaluating binary shifts of comparison op results

Currently CDT evaluates result type of comparison ops to the converted type of
their operands. When floating point values are compared and then the result is
binary shifted this trips an assertion trying to promote floating point value.

Fix this by limiting operand types of binary shifts to integral or unscoped
enumerations. Additionally fix return type of comparison op to be boolean value.
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ArithmeticConversion.java (diff)
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalBinary.java (diff)
The file was modified core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java (diff)
Commit 3b72e604066b384e47dd5d0d48787e32c2320663 by Jonah Graham
Resolve typedef before checking if type is unsigned
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ValueFactory.java (diff)
Commit 6ea3d7045691804cbbc8cd12280f3de43eb80620 by Jonah Graham
Allow const-qualified arg for __atomic builtins which accept that
The file was modified core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java (diff)
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/GCCBuiltinSymbolProvider.java (diff)
Commit 0923e66b7bf2fdc28698fc9c4d0a9895e7db76a5 by Jonah Graham
Handle invalid empty c++17 fold expression early

One of Qt sample snippets contain (...) as placeholder for actual user code.
Parsing that leads to invalid class cast because buildExpression would return
fold expression token marker and not a proper ICPPASTexpression.

Fix that by handling this error early as invalid fold expression.
The file was modified core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx17/FoldExpressionTests.java (diff)
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java (diff)
Commit 74621c10481075b5c6902bfc1f2ea7203e7601ec by Jonah Graham
Restore counting iterations in computeContainsDeclaration cycle detector

A follow-up change to bug 509898 missed actually incrementing the counter,
restore it now.

Fixes: 5462bac381 ("Bug 509898 - IndexFileSet.containsDeclaration is slow and is causing UI freezes")
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/IndexFileSet.java (diff)
Commit 1f700ff1000033ef15ce433336a62f85c88b6475 by Jonah Graham
Return IntegralValue.UNKNOWN if recursed creating CompositeValue

Currently CDT would return empty CompositeValue if recursion creating for class
type is detected. If this happens inside CompositeValue.computeForFunctionCall()
and class type has fields, this leads to an attempt to assign a value to
non-existent index into empty values array.

Fix this by returning usual IntegralValue.UNKNOWN and additionally checking
whether created value is actually a CompositeValue instance.
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/CompositeValue.java (diff)
The file was modified core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalConstructor.java (diff)
Commit 50bddd886acad2babd776a8def247f89d28692c8 by Jonah Graham
Changed the template application to Hello World.

This provides a more useful template when making a simple Makefile
project.

Pulled out of #314
The file was modified build/org.eclipse.cdt.make.core/templates/simple/main.cpp (diff)
The file was modified build/org.eclipse.cdt.make.core/META-INF/MANIFEST.MF (diff)
Commit 5db69e7f16eb4a98847a3a5c5297f84ef9dca5a1 by noreply
Correct year of 11.2 expected release

Fixes https://github.com/eclipse-cdt/cdt/commit/21e923ada7b0bc2db249f7d83962637b5ff85cd6#r104842615
The file was modified NewAndNoteworthy/README.md (diff)
Commit 2b297c4355a07ec26b68c88cc1d8d0bbcab87186 by Jonah Graham
Issue #167 - Core Build Makefile project build output folder.

* Issue Issue #167 was partly solved by PR #192 (commit 7911ac8a2b0).
  This change fixes the problem that after closing and opening a
  Makefile project the wrong build output location was used for the
  default Run configuration.
  The cause was that StandardBuildConfiguration.buildContainer was
  null after opening the project.

Fixes #167
The file was modified core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/StandardBuildConfiguration.java (diff)
Commit a6a4bfcf3b1e39aecb5a784b28502384f39e8523 by Jonah Graham
Binary not found in Core Build Makefile project

Fixed the problem for Core Build Makefile projects that the output
binary could not be found during launching when the user set the
Build Output Location to "Build in project directory".
The project was only looking for binaries in the "build" folder.
The file was modified build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakefileProjectGenerator.java (diff)
Commit 0dabaa15fb2caf5ff19959827ab0d0adba676d14 by Jonah Graham
Handle null "DisplayName" in registry

Fixes #330
The file was modified build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/internal/Msys2ToolChainProvider.java (diff)
The file was modified core/org.eclipse.cdt.core/utils/org/eclipse/cdt/internal/core/MinGW.java (diff)
Commit bc0bffec8a3613943a3bb47d8a7d48104f007331 by Jonah Graham
CDT 11.1.1 Release Notes updates

Part of #332
The file was modified NewAndNoteworthy/CDT-11.1.md (diff)
Commit bc0baaeb3dae55980b5fb8d3d3a5e63f7966d629 by Jonah Graham
Run Workflows on all branches and PRs
The file was modified .github/workflows/code-cleanliness.yml (diff)
The file was modified .github/workflows/build-test.yml (diff)
Commit f3b07b07a52d063ea198ff05ad9eb0c3df83bbbf by Jonah Graham
Add CDT 11.1.1 to p2 composite

Part of #332
The file was modified releng/download/releases/11.1/compositeArtifacts.xml (diff)
The file was modified releng/download/releases/11.1/compositeContent.xml (diff)