]> granicus.if.org Git - clang/commit
Fix the translation of the PCC_ForInit code-completion context for
authorDouglas Gregor <dgregor@apple.com>
Mon, 18 Oct 2010 22:01:46 +0000 (22:01 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 18 Oct 2010 22:01:46 +0000 (22:01 +0000)
commita5450a097e83072c0e545ccd8df8b07e172f1b09
tree4785815ba7eeadb7722132fece0598ccd1d759b1
parent75ab414cac234145b81fa7d2dfcf15271d8db87d
Fix the translation of the PCC_ForInit code-completion context for
C++/C99/Objective-C, so that we properly include types. This fix
affects global caching of code-completion results; without caching,
the behavior was already correct.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116757 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-exprs.m