Skip to content
Commit bf1be59d authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[libclang] In clang_equalCursors, clear out the "FirstInDeclGroup" part in a declaration cursor

before doing the comparison.

This is because we can't set "FirstInDeclGroup" consistently; for example, when visiting a DeclStmt we will set
it but we don't set it on the result of clang_getCursorDefinition for a reference of the same declaration.

llvm-svn: 171878
parent c4c1fb39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment