]> granicus.if.org Git - clang/commit
[Sema] Ignore decls in namespaces when global decls are not wanted.
authorEric Liu <ioeric@google.com>
Wed, 13 Dec 2017 10:26:49 +0000 (10:26 +0000)
committerEric Liu <ioeric@google.com>
Wed, 13 Dec 2017 10:26:49 +0000 (10:26 +0000)
commit979ce58814f6d861f8a9a4da08932916bafd38d9
tree53c9d1f9308225fde052cfd5b01ce6768ec51300
parent93d27e381244aa4c5782ad418812f9612bb12b39
[Sema] Ignore decls in namespaces when global decls are not wanted.

Summary: ... in qualified code completion and decl lookup.

Reviewers: ilya-biryukov, arphaman

Reviewed By: ilya-biryukov

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D40562

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320563 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CC1Options.td
include/clang/Sema/CodeCompleteConsumer.h
include/clang/Sema/CodeCompleteOptions.h
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaCodeComplete.cpp
test/CodeCompletion/ignore-ns-level-decls.cpp [new file with mode: 0644]