Skip to content

Commit

Permalink
This makes it easier to debug inside setType()
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Feb 11, 2021
1 parent 4937ee7 commit a7555b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClangIndexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1797,9 +1797,9 @@ CXChildVisitResult ClangIndexer::handleCursor(const CXCursor &cursor, CXCursorKi
const char *cstr = name.data();
c.symbolLength = cstr ? strlen(cstr) : 0;
const CXType type = clang_getCursorType(cursor);
setType(c, type);
c.location = location;
c.usr = usr;
setType(c, type);
if (!c.symbolLength) {
// this is for these constructs:
// typedef struct {
Expand Down

0 comments on commit a7555b8

Please sign in to comment.