Make it possible to have _Pragma generated in OpenMP parallelization
commit1ddc24f0e9dae0f4cec6c581ac71f5049fc054b5
authorUtz-Uwe Haus <lisp@uuhaus.de>
Wed, 2 Dec 2015 17:49:40 +0000 (2 18:49 +0100)
committerUtz-Uwe Haus <lisp@uuhaus.de>
Wed, 2 Dec 2015 17:49:40 +0000 (2 18:49 +0100)
tree092dc1a8a6de30b982a9411fbb4ebe7d55c2081c
parent001fa4fb0b33fdf883c2315af3e04ab404223cfa
Make it possible to have _Pragma generated in OpenMP parallelization

If clast pretty printing results are put into #defines the generated
code may not use #pragma. In C99 we can use _Pragma.
This patch introduces a new option 'use_c99' (command line: -use_c99)
to designate whether generated code may use C99 features. If set
pprint_for() outputs _Pragma instead of #pragma.
include/cloog/options.h
source/options.c
source/pprint.c