summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpprefactoringengine.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-11-25 11:12:30 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2020-12-03 13:26:29 +0000
commit8ad9c0111ccfbac9a06513fa5c9baa6dc4e48970 (patch)
treefdbdfea2c821f4b3d43a4a99f7a3ff293232420f /src/plugins/cpptools/cpprefactoringengine.cpp
parenta83c33999ad32fd12492cca89efeae619cc76ba2 (diff)
downloadqt-creator-8ad9c0111ccfbac9a06513fa5c9baa6dc4e48970.tar.gz
clangbackend: Another workaround for libclang cursor weirdness
Sometimes, clang_getCursor() erroneously returns an invalid cursor, in which case we may be able to retrieve the real one via clang_annotateTokens(). This is basically the reverse of the issue we recently had, where we had to call clang_getCursor() to get information missing from clang_annotateTokens(). Fixes: QTCREATORBUG-21194 Change-Id: Ie8c4767bca03bd1b27e3ef1f906378fc1d436b90 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringengine.cpp')
0 files changed, 0 insertions, 0 deletions