aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-04-10 15:16:54 +0000
committerSam McCall <sam.mccall@gmail.com>2019-04-10 15:16:54 +0000
commitb814e57ffba00be55237863790fb4f0b33cb80c2 (patch)
treee6045493ed7f7bc6024d0d725cad726e0dc971ea /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent0d9f609d824d50e963799b826f2cb2328e51b047 (diff)
downloadllvm-b814e57ffba00be55237863790fb4f0b33cb80c2.zip
llvm-b814e57ffba00be55237863790fb4f0b33cb80c2.tar.gz
llvm-b814e57ffba00be55237863790fb4f0b33cb80c2.tar.bz2
[clangd] Don't insert extra namespace qualifiers when Sema gets lost.
Summary: There are cases where Sema can't tell that "foo" in foo::Bar is a namespace qualifier, like in incomplete macro expansions. After this patch, if sema reports no specifier but it looks like there's one in the source code, then we take it into account. Reworked structure and comments in getQueryScopes to try to fight creeping complexity - unsure if I succeeded. I made the test harder (the original version also passes). Reviewers: ioeric Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D60503 llvm-svn: 358091
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions