Bug 18368 – -X should print all static information on stdout if no files are given

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-02-04T19:22:18Z
Last change time
2024-12-13T18:56:40Z
Assigned to
No Owner
Creator
Seb
Moved to GitHub: dmd#19378 →

Comments

Comment #0 by greensunny12 — 2018-02-04T19:22:18Z
-X could print all information known to DMD on stdout in the JSON format if no files are given.
Comment #1 by timothee.cour2 — 2018-02-04T23:38:08Z
behavior should be defined in: https://github.com/dlang/dmd/pull/7838#issuecomment-362949178 -Xf=- => stdout -Xf=file => file -X => inferredoutputfile.json (requires some input files) what it outputs: if no input file => static compiler info if input file => module info (cf same as before) if -Xq=query also given: what's generated depends on query
Comment #2 by robert.schadek — 2024-12-13T18:56:40Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19378 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB