diff options
author | Chris Lattner <sabre@nondot.org> | 2007-09-15 22:21:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-09-15 22:21:22 +0000 |
commit | 8bd12b848bc353a9d34b54144c3dd3407b064292 (patch) | |
tree | 596dea499f88e82c5b664336b944aac7186a9be5 /Rewrite/Rewriter.cpp | |
parent | 8bdcc47d2686009bfb3dbef6dcdc9f79c12b03b1 (diff) |
Initial checkin of rewriter interface. It is just stubbed out for now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Rewrite/Rewriter.cpp')
-rw-r--r-- | Rewrite/Rewriter.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Rewrite/Rewriter.cpp b/Rewrite/Rewriter.cpp new file mode 100644 index 0000000000..c4856adeea --- /dev/null +++ b/Rewrite/Rewriter.cpp @@ -0,0 +1,26 @@ +//===--- Rewriter.cpp - Code rewriting interface --------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by Chris Lattner and is distributed under +// the University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file defines the Rewriter class, which is used for code +// transformations. +// +//===----------------------------------------------------------------------===// + +#include "clang/Rewrite/Rewriter.h" +using namespace clang; + + +void RewriteBuffer::RemoveText(unsigned OrigOffset, unsigned Size) { + // FIXME: +} + +void RewriteBuffer::InsertText(unsigned OrigOffset, + const char *StrData, unsigned StrLen) { + // FIXME: +} |