[Chapel Merge] Add a pragma for modules included by default

Branch: refs/heads/master
Revision: 78878ca
Author: mppf
Log Message:

Merge pull request #16861 from mppf/pragma-included-by-default

Add a pragma for modules included by default

This is a follow-up to comments in PR #16848.

It adds a pragma to indicate a module is included by default. The pragma
is used by a primitive listing symbols (to ignore default-included
symbols). It is also used by chpldoc to generate a different header for
the module. For example, look for the change in the Math module

Reviewed by @lydia-duncan - thanks!

  • [x] full local testing

Modified Files:
M compiler/AST/ModuleSymbol.cpp
M compiler/include/flags_list.h
M compiler/passes/scopeResolve.cpp
M modules/standard/Builtins.chpl
M modules/standard/ChapelEnv.chpl
M modules/standard/ChapelIO.chpl
M modules/standard/Math.chpl
M modules/standard/Types.chpl
M modules/standard/VectorizingIterator.chpl
M test/functions/diten/compilerWarningDepth.good
M test/functions/diten/compilerWarningDepth.prediff
M test/functions/vass/resolution/param-detuple.good
M test/functions/vass/resolution/param-detuple.prediff
M test/performance/vectorization/vectorizeOnly/nonIterableErrorMessage/vectorizeOnlyInvalidIterable.good

Compare: https://github.com/chapel-lang/chapel/compare/e318a2b9a142...78878cac5771