[PATCH] D100556: [flang][driver] Refactor methods for parsing options (nfc)

Sourabh Singh Tomar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 03:53:51 PDT 2021


SouraVX added inline comments.


================
Comment at: flang/include/flang/Frontend/FrontendOptions.h:225
 
+  /// The input kind, either specified via -x argument or deduced from the input
+  /// file name.
----------------
SouraVX wrote:
> Out of curiosity, what does clang does for this ?
> ```
> clang -x c++ main.c
> ```
> Is sharing possible ?
I meant what clangDriver does, for handling this ? Code sharing possible ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100556/new/

https://reviews.llvm.org/D100556



More information about the llvm-commits mailing list