commit | 93798e25d68e2d146cff9bd0355d4b7b1ca765f1 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Nov 05 21:11:19 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Nov 05 21:11:19 2010 +0000 |
tree | b19d33d3fe72a46968e0d8dcccd457c3cd733457 | |
parent | 752c2e930a3ec30b5e338845fd5e7baae532ee69 [diff] |
Teach clang_getCursorReferenced() that a CXXConstructorExpr/CXXTemporaryObjectExpr references the constructor it calls. Then, tweak clang_getCursor() to prefer such a call over a type reference to the type being called. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118297 91177308-0d34-0410-b5e6-96231b3b80d8