Introduce basic code-completion support for preprocessor directives,
e.g., after a "#" we'll suggest #if, #ifdef, etc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111943 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Lex/CodeCompletionHandler.h 42 additions, 0 deletionsinclude/clang/Lex/CodeCompletionHandler.h
- include/clang/Lex/Preprocessor.h 14 additions, 0 deletionsinclude/clang/Lex/Preprocessor.h
- include/clang/Parse/Parser.h 7 additions, 1 deletioninclude/clang/Parse/Parser.h
- include/clang/Sema/Action.h 10 additions, 0 deletionsinclude/clang/Sema/Action.h
- include/clang/Sema/Sema.h 2 additions, 0 deletionsinclude/clang/Sema/Sema.h
- lib/Lex/Lexer.cpp 18 additions, 18 deletionslib/Lex/Lexer.cpp
- lib/Lex/PPDirectives.cpp 12 additions, 1 deletionlib/Lex/PPDirectives.cpp
- lib/Lex/Preprocessor.cpp 6 additions, 3 deletionslib/Lex/Preprocessor.cpp
- lib/Parse/Parser.cpp 13 additions, 0 deletionslib/Parse/Parser.cpp
- lib/Sema/SemaCodeComplete.cpp 180 additions, 0 deletionslib/Sema/SemaCodeComplete.cpp
- test/Index/complete-preprocessor.m 47 additions, 0 deletionstest/Index/complete-preprocessor.m
Loading
Please register or sign in to comment