]> granicus.if.org Git - clang/commit
Use the cursor's ASTContext rather than the ASTContext computed from a
authorDouglas Gregor <dgregor@apple.com>
Mon, 22 Mar 2010 15:53:50 +0000 (15:53 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 22 Mar 2010 15:53:50 +0000 (15:53 +0000)
commit2ca54feee89d7277fb967e3247a64f40ef155a82
tree71321c34dd94cf1eb9fa33085742315fff5a4fb4
parent9e2dac9c9b6bc4384c816a447cca6516a03c89f2
Use the cursor's ASTContext rather than the ASTContext computed from a
declaration, just in case invalid code makes the latter
incorrect. This may be the cause behind <rdar://problem/7777070>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99179 91177308-0d34-0410-b5e6-96231b3b80d8
tools/CIndex/CIndex.cpp