[cfe-dev] Add new Pragma to Clang 5.0

Nisal Menuka via cfe-dev cfe-dev at lists.llvm.org
Fri Jun 30 07:35:35 PDT 2017


Hi,

I want to add a new pragma to mark a segment of a code where
interested segment can be recognized by llvm later on.

Ex.
# pragma mypragma
{
[code]
}
//interested code segment is inside the brackets

Could someone provide directions to achieve this?
Thanks

Best
Nisal



More information about the cfe-dev mailing list