]> granicus.if.org Git - clang/commit
Add code completion to produce "else" blocks after an "if"
authorDouglas Gregor <dgregor@apple.com>
Sat, 30 Jul 2011 08:36:53 +0000 (08:36 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 30 Jul 2011 08:36:53 +0000 (08:36 +0000)
commitd2d8be6a27d0ef73d46039604682f7890e1cc3e0
treec39aa9177631105b874776a18053213296b42a07
parente42447021239015db97202fb04c304d82e84135f
Add code completion to produce "else" blocks after an "if"
statement. Fixes <rdar://problem/9229438>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136564 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Parse/ParseStmt.cpp
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-stmt.c [new file with mode: 0644]