[cfe-commits] [PATCH] Support auto-completion on stdin
Douglas Gregor
dgregor at apple.com
Tue Oct 26 15:25:20 PDT 2010
Sent from my iPhone
On Oct 26, 2010, at 3:06 PM, Dan Gohman <gohman at apple.com> wrote:
> On Oct 26, 2010, at 10:09 AM, Douglas Gregor wrote:
>>
>> but there is already an existing mechanism for overridding the contents of a file in SourceManager::overrideFileContents(). Can we get more re-use out of that code?
>
> Ah, I didn't notice overrideFileContents with its const_cast. What do
> you think of this new patch, which is substantially shorter?
Looks good!
> Thanks,
>
> Dan
>
> <clang-autocomplete-stdin.patch>
More information about the cfe-commits
mailing list