<div dir="ltr">Hi,<div><br></div><div>I am trying to add custom pragma to clang to annotate extra infromation to variables and loops.</div><div><br></div><div>I had a look at the OpenMP pragma handling a little bit, and found that adding custom pragma like OpenMP to clang is not easy, one need to modify the lexer, introduce dedicated node to AST, etc.</div><div><br></div><div>But on the other hand, I am thinking the pragma for variable and loop annotating may not as complicated as those OpenMP pragmas. Is there any simple pragma in clang that I can look at?</div><div><br></div><div>Thanks</div><div>Hongbin</div></div>