1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-16 04:35:45 +02:00
cdt/core/org.eclipse.cdt.core.tests
github-actions[bot] 81989fa4c4
[cdt_11_6] On createBuildConfiguration, reset project's ScannerInfoProvider (#817) (#854)
When the project's active IBuildConfiguration has the default name and
the chosen ICBuildConfigurationProvider.getCBuildConfiguration does not
support the IBuildConfiguration.DEFAULT_CONFIG_NAME and returns null,
this can cause the project's ScannerInfoProvider to become "stuck"
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=413357) on the wrong
setting (eg LanguageSettingsScannerInfoProvider instead of
ICBuildConfiguration) until Eclipse is restarted or the project is
closed and reopened. When this happens, the indexer does not function.

This problem may arise if an ISV contributes a
ICBuildConfigurationProvider which has very specific naming conventions
for it's build configurations.

The solution uses the API (resetCachedScannerInfoProvider(project)),
introduced by 413357, to reset the project's ScannerInfoProvider when a
new ICBuildConfiguration is created.

(cherry picked from commit 0f36d5dba1)

Co-authored-by: betamax <evil_bandit_betamax@yahoo.co.uk>
2024-06-28 21:48:56 -04:00
..
.settings Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
META-INF [cdt_11_6] On createBuildConfiguration, reset project's ScannerInfoProvider (#817) (#854) 2024-06-28 21:48:56 -04:00
misc/org/eclipse/cdt [703] fix NPE when no build binaries on system PATH (#704) 2024-02-11 07:45:57 +01:00
model/org/eclipse/cdt/core [cdt_11_6] On createBuildConfiguration, reset project's ScannerInfoProvider (#817) (#854) 2024-06-28 21:48:56 -04:00
parser/org/eclipse/cdt Parse empty __attribute__(()) (#770) 2024-05-17 12:49:41 -04:00
regression/org/eclipse/cdt/core/tests There is a new way to mark tests as failing 2022-11-07 10:04:20 -05:00
resources Add rewriter test for c++20 three-way comparison expression 2023-01-28 10:52:07 -05:00
suite/org/eclipse/cdt/core Include the full stack trace in exception message 2022-11-07 10:04:20 -05:00
.classpath Update to Java 17 as BREE. Fixes #80 2022-10-03 12:42:37 -04:00
.project Remove API tooling from projects that are not part of our release 2022-10-03 12:42:37 -04:00
about.html [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
build.properties Delete all the test suites from primary CDT test projects 2022-11-07 07:53:47 -05:00
plugin.properties Fixed "The value for X attribute is not externalized" warning 2020-08-28 21:32:18 +02:00
plugin.xml
pom.xml Prepare repo for 11.6.1 development 2024-06-24 08:30:00 -04:00