summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2019-02-19 14:32:22 +0000
committerEric Liu <ioeric@google.com>2019-02-19 14:32:22 +0000
commit4df070a5e3c4fb96f701cb86ce4a3fc85225f21d (patch)
tree08f53cb7fa052f515445cb6855719796c82f878c /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
parent12b283dfa6a5306320de9d304c8fd73c91483c17 (diff)
downloadbcm5719-llvm-4df070a5e3c4fb96f701cb86ce4a3fc85225f21d.tar.gz
bcm5719-llvm-4df070a5e3c4fb96f701cb86ce4a3fc85225f21d.zip
[clangd] Handle unresolved scope specifier when fixing includes.
Summary: In the following examples, "clangd" is unresolved, and the fixer will try to fix include for `clang::clangd`; however, clang::clangd::X is usually intended. So when handling a qualifier that is unresolved, we change the unresolved name and scopes so that the fixer will fix "clang::clangd::X" in the following example. ``` namespace clang { clangd::X ~~~~~~ } // or clang::clangd::X ~~~~~~ ``` Reviewers: sammccall Reviewed By: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58185 llvm-svn: 354330
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud