sscalpone added a comment.

Flang supports include files and module files.  The search path is used to look 
for both include files and module files.  The help text doesn't include info 
about module files.

The help text refers to the -isystem option.  Is that implemented for flang, 
and if so, ought tests be added to make sure -I and -isystem co-exist as 
documented for flang?

Not that there's also a special include directory for intrinsic modules.  
Intrinsic modules are treated specially, and right now, they are special by 
virtue of being in a special directory.  In the throwaway driver, the option is 
-intrinsic-module-directory.

There's also the -module option to specify the directory into which newly 
created module files are written.   I don't recall if flang or other compilers 
generally add that directory to the search path as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93453

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to