1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-31 20:23:26 +02:00
cdt/core/org.eclipse.cdt.ui
Jonah Graham b8bd15844b Bug 571722: Add ALL_FLAGS for scanner discovery
This change adds the ALL_FLAGS that does not limit tool options to
those declared as IOption::isForScannerDiscovery when launching the
compiler to discover compiler built-ins.

This is needed as many other flags, either entered manually in "Other
flags" or some of the existing flags with checkboxes such as "-ansi",
"-fPIC", and "-fstack-protector-all" which all affect scanner discovery
as they can all change what macros are built-in to the compiler.

The current solution has as a drawback that some settings, like -I and -D
then appear twice. For example in the "Includes" node in the "Project
Explorer"

My only reservation about this change is if there is an option
that can be specified successfully at build time, but when used
at scanner discovery time causes the compiler to fail, or return
incorrect results. Therefore I have added a new field,
excludeFromScannerDiscovery to tool options (buildDefinitions
extension point) that allows tool integrators to always exclude
a command line option from ALL_FLAGS. I have also added
a new "Other flags (excluded from discovery)" to the
"Miscellaneous" tab to allow compiler options to be entered
by the user.
2022-11-21 10:46:49 -05:00
..
.settings Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
about_files
browser/org/eclipse/cdt
css Bug 579876: Use same bgcolor for occurrence in editor as JDT 2022-05-13 10:07:53 -04:00
dictionaries
icons Fixes launchbar icons looking blurry on hidpi screens 2022-10-19 08:41:15 +01:00
META-INF Remove unmaintained LSP and DAP support from CDT 2022-11-09 19:47:22 -05:00
schema Add extension point schema for BinaryParserPage 2022-11-07 20:58:25 -05:00
src/org/eclipse/cdt Bug 571722: Add ALL_FLAGS for scanner discovery 2022-11-21 10:46:49 -05:00
templateengine/org/eclipse/cdt/ui Bug 561993 - Remove dependency to com.ibm.icu from CDT UI 2020-04-12 13:34:26 +03:00
templates
utils.ui/org/eclipse/cdt/utils/ui/controls Bug 567822 - [Dark Theme] Several controls using ControlFactory have wrong background (preferences, dialogs) 2020-10-19 23:26:17 -04:00
.classpath Update to Java 17 as BREE. Fixes #80 2022-10-03 12:42:37 -04:00
.options
.project
about.html [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
build.properties
doxygenTags.csv
NEWS
plugin.properties Bug 546981: Add #pragma mark to Outline view 2021-07-11 20:13:33 -04:00
plugin.xml Add extension point schema for BinaryParserPage 2022-11-07 20:58:25 -05:00