| commit | bf1be59dae9ddd5184ce8bf6fe0b9d25e428dd79 | [log] [tgz] |
|---|---|---|
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue Jan 08 18:23:28 2013 +0000 |
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue Jan 08 18:23:28 2013 +0000 |
| tree | e07ac2d628a653be7aa947277823992fd81d71a6 | |
| parent | c4c1fb39d8bd4ecd559f2dd3ed1293672cb350f9 [diff] |
[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