]> granicus.if.org Git - clang/commit
Give a slight preference to functions returning "void" when we're
authorDouglas Gregor <dgregor@apple.com>
Tue, 24 Aug 2010 23:58:17 +0000 (23:58 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 24 Aug 2010 23:58:17 +0000 (23:58 +0000)
commiteb0d0145910f3024d9bdefe279a1e9b95495f2fd
tree7ae1dbf7babc02f912b30ce76df491f9d75c14c2
parent124300e428d4e987430e5e79c42f4a760e60d8d3
Give a slight preference to functions returning "void" when we're
performing code completion at the statement level (rather than in an
arbitrary expression).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112001 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/CodeCompleteConsumer.h
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-blocks.m
test/Index/complete-exprs.c
test/Index/preamble.c