aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRoland McGrath <mcgrathr@google.com>2024-10-24 22:17:57 -0700
committerGitHub <noreply@github.com>2024-10-24 22:17:57 -0700
commit2e6d451d1565814415e2692ef8e5c3942d4c11a2 (patch)
treebcd45590cb59d32314852013152fd2e3e691fac4 /flang/lib/Frontend/CompilerInvocation.cpp
parenta9d51f0e18ec840bdb361daca48b4ef00e2ba8ac (diff)
downloadllvm-2e6d451d1565814415e2692ef8e5c3942d4c11a2.zip
llvm-2e6d451d1565814415e2692ef8e5c3942d4c11a2.tar.gz
llvm-2e6d451d1565814415e2692ef8e5c3942d4c11a2.tar.bz2
[libc] Use idiomatic main() function in newhdrgen/yaml_to_classes.py (#113419)
This changes the entry-point Python script of newhdrgen to use the idiomatic main() function of no arguments that does the whole job of the script. This replaces the unusual pattern of having an idiosyncratic main(...) signature and having the script's direct code do argument parsing outside the main function. The idiomatic pattern makes it possible to usefully wrap the script in Python and still use its full command-line functionality.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions