[CodeCompletion] Code complete the missing C++11 keywords
This commit adds context sensitive code completion support for the C++11 keywords that currently don't have completion results. The following keywords are supported by this patch: alignas constexpr static_assert noexcept (as a function/method qualifier) thread_local The following special identifiers are also supported: final (as a method qualifier or class qualifier) override rdar://29219185 Differential Revision: https://reviews.llvm.org/D28286 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295001 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Parse/Parser.h 4 additions, 4 deletionsinclude/clang/Parse/Parser.h
- include/clang/Sema/Sema.h 2 additions, 0 deletionsinclude/clang/Sema/Sema.h
- lib/Parse/ParseDecl.cpp 13 additions, 5 deletionslib/Parse/ParseDecl.cpp
- lib/Parse/ParseDeclCXX.cpp 5 additions, 1 deletionlib/Parse/ParseDeclCXX.cpp
- lib/Sema/SemaCodeComplete.cpp 74 additions, 11 deletionslib/Sema/SemaCodeComplete.cpp
- test/CodeCompletion/keywords.cpp 79 additions, 0 deletionstest/CodeCompletion/keywords.cpp
- test/CodeCompletion/ordinary-name-cxx11.cpp 9 additions, 0 deletionstest/CodeCompletion/ordinary-name-cxx11.cpp
Loading
Please register or sign in to comment