[flang-commits] [flang] [flang] Pass LangOptions to parser via UserState (PR #213472)
Sairudra More via flang-commits
flang-commits at lists.llvm.org
Sun Aug 2 22:01:42 PDT 2026
https://github.com/Saieiei commented:
[`flang/tools/f18-parse-demo/f18-parse-demo.cpp:192`](https://github.com/llvm/llvm-project/blob/main/flang/tools/f18-parse-demo/f18-parse-demo.cpp#L192) still calls parsing.`Parse(llvm::outs())`, but this PR changes `Parsing::Parse` to require a second `LangOptions` argument. I reproduced the failure by building the `f18-parse-demo.cpp.o` target at the current PR head (`candidate expects 2 arguments, 1 provided`), and it builds after changing the call to `parsing.Parse(llvm::outs(), driver.langOpts);`. Could you update this missed call site?
https://github.com/llvm/llvm-project/pull/213472
More information about the flang-commits
mailing list