commit | 2968442603b029949246467253eeac8139a5b6d8 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Dec 02 06:49:09 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Dec 02 06:49:09 2009 +0000 |
tree | ff548e890078ba6293daa74c947dcdf57c410798 | |
parent | a46e4d91d8f3eb341f2387768db66dcfe8dd0afa [diff] |
Extend the source manager with the ability to override the contents of files with the contents of an arbitrary memory buffer. Use this new functionality to drastically clean up the way in which we handle file truncation for code-completion: all of the truncation/completion logic is now encapsulated in the preprocessor where it belongs (<rdar://problem/7434737>). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90300 91177308-0d34-0410-b5e6-96231b3b80d8