[cfe-dev] why <<<NULL>>> in AST dump

Rajendra rks at cse.iitb.ac.in
Wed Dec 26 00:54:01 PST 2012


Hi,

I am wondering why there is <<<NULL>>> printed in AST dump

   (IfStmt 0xb828598 <line:8:3, line:13:10>
     <<<NULL>>>

for code below and I see the same happening in case of while stmt?

int main()
{
   int x, y;

   x = 10;

   if (x > 0)
     y = 1;
   else if (x == 0)
     y = 0;
   else
     y = -1;

   return 0;
}

Why?

- Rajendra



More information about the cfe-dev mailing list