[cfe-dev] c-api and CXCursor_CXXForRangeStmt
Anders Bakken
agbakken at gmail.com
Thu Jan 23 23:41:50 PST 2014
It seems that the C-api doesn't give us much info about the container
that's being iterated. The only cursor I get for the cursor at
location 2:14 is a CXCursor_DeclStmt that doesn't reference anything.
1: std::vector<int> ints;
2: for (int i : ints) {}
Is this by design? It makes it hard for our code navigation tool to
handle these loops.
regards
Anders
More information about the cfe-dev
mailing list