[Chapel Merge] Add pragma for documentation-only, move isSubtype

Branch: refs/heads/master
Revision: 3959059
Author: mppf
Log Message:

Merge pull request #16829 from mppf/isSubtype-etc-to-types

Add pragma for documentation-only, move isSubtype etc to Types

  • Adds a flag to the compiler, pragma "docs only" / FLAG_DOCS_ONLY
  • Adjusts the cleanup pass to remove functions marked with
    FLAG_DOCS_ONLY. These will still be visited by chpldoc because it
    generates docs before cleanup.
  • Move docs for isSubtype etc from UtilMisc_forDocs to Types
  • Remove UtilMisc_forDocs since it is now empty.

Reviewed by @lydia-duncan - thanks!

  • [x] full local testing

Modified Files:
R modules/internal/UtilMisc_forDocs.chpl
M compiler/include/flags_list.h
M compiler/passes/cleanup.cpp
M doc/rst/language/spec/types.rst
M modules/Makefile
M modules/internal/fixInternalDocs.sh
M modules/standard/Types.chpl

Compare: https://github.com/chapel-lang/chapel/compare/335736c14932...3959059042d9