clangupc / clang-upc

Clang UPC Front-End
https://clangupc.github.io/
Other
16 stars 5 forks source link

Add missing -fupc-pre-include option #40

Closed nenadv closed 10 years ago

nenadv commented 10 years ago

An option available in GUPC that is missing from clang-upc is -f[no-]upc-pre-include. The upc2c translator can use this option to exclude runtime library header files from being automatically included. This might be useful for upc2c translator as we have two empty files sitting in UPCR's upcr_preinclude directory (clang-upc.h and clang-upc-lib.h).

nenadv commented 10 years ago

Fixed by this commit:

https://github.com/Intrepid/clang-upc/commit/ba78885d011d5e46d52739ff83a6f83864a74f79