[cfe-dev] Add new compilation directives to clang?

zhunan zhunansjtu at gmail.com
Thu Jul 30 10:38:41 PDT 2009


I just develop some programs which need a new compilation directives,it
just like OpenMP's directives(#pragma omp parallel for),

for example,I want Clang to recognize "#pragma GCB i" and then change i
to idx_i when it generate LLVM IR.

what should I do to archieve this?

Thanks for all


More information about the cfe-dev mailing list