[cfe-dev] Missing info from TypeLoc?

Vane, Edwin edwin.vane at intel.com
Tue Mar 12 12:28:03 PDT 2013


Hi all,

Given this c++ code:

const MyType *a;

The TypeSourceInfo from the VarDecl provides a TypeLoc that claims the type starts at "MyType" not "const". Is this by design or is there a bug here?

--
Edwin Vane
  Software Developer
  Intel of Canada, Inc.






More information about the cfe-dev mailing list