llvm with tablegen backend for capstone disassembler
Go to file
Ilya Biryukov 5de0c85e88 [ASTUnit] Fix a regression in cached completions
Summary:
After r345152 cached completions started adding namespaces after
nested name specifiers, e.g. in `some_name::^`

The CCC_Symbol indicates the completed item cannot be a namespace (it is
described as being "a type, a function or a variable" in the comments).

Therefore, 'nested specifier' completions should only be added from cache
when the context is CCC_SymbolOrNewName (which roughly seems to indicate
that a nested name specifier is allowed).

Fixes https://bugs.llvm.org/show_bug.cgi?id=42646

Reviewers: kadircet, sammccall

Reviewed By: kadircet, sammccall

Subscribers: arphaman, nik, sammccall, cfe-commits

Tags: #clang

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

llvm-svn: 366448
2019-07-18 15:21:34 +00:00
clang [ASTUnit] Fix a regression in cached completions 2019-07-18 15:21:34 +00:00
clang-tools-extra [clangd] Suppress unwritten scopes when expanding auto. 2019-07-18 15:13:45 +00:00
compiler-rt [CMake] Don't set Python_ADDITIONAL_VERSIONS 2019-07-18 15:17:42 +00:00
debuginfo-tests Make nrvo-string test more robust. 2019-06-27 20:38:37 +00:00
libclc travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx Bump the trunk version to 10.0.0svn 2019-07-18 11:51:05 +00:00
libcxxabi [libcxxabi] Don't process exceptions in cxa_handlers when they're disabled 2019-07-12 19:10:59 +00:00
libunwind Bump the trunk version to 10.0.0svn 2019-07-18 11:51:05 +00:00
lld [CMake] Don't set Python_ADDITIONAL_VERSIONS 2019-07-18 15:17:42 +00:00
lldb [lldb][NFC] Tablegenify alias/regex/history/source/script 2019-07-18 14:10:49 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm [CMake] Don't set Python_ADDITIONAL_VERSIONS 2019-07-18 15:17:42 +00:00
openmp [OpenMP][libomptarget] Suppress C++ 11 related warnings when building libomptarget-nvptx bitcode library, by Doru Bercea. 2019-07-18 13:54:01 +00:00
parallel-libs
polly Bump the trunk version to 10.0.0svn 2019-07-18 11:51:05 +00:00
pstl Bump the trunk version to 10.0.0svn 2019-07-18 11:51:05 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +00:00
README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.