]> granicus.if.org Git - clang/commit
Introduce a preprocessor code-completion hook for contexts where we
authorDouglas Gregor <dgregor@apple.com>
Wed, 25 Aug 2010 17:04:25 +0000 (17:04 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 25 Aug 2010 17:04:25 +0000 (17:04 +0000)
commit55817afdf9d453a443262a733f6caf6692dca118
tree8b00c2f68023cf89c25d77cb00bf53e982cad1fa
parent1e32ca6e3007e09073ddafb3cb5e0adc1f83293c
Introduce a preprocessor code-completion hook for contexts where we
expect "natural" language and should not provide any completions,
e.g., comments, string literals, #error.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112054 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/CodeCompletionHandler.h
include/clang/Lex/Preprocessor.h
include/clang/Parse/Parser.h
include/clang/Sema/Action.h
include/clang/Sema/Sema.h
lib/Lex/Lexer.cpp
lib/Lex/Preprocessor.cpp
lib/Parse/Parser.cpp
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-exprs.c
test/Index/complete-natural.m [new file with mode: 0644]