From 50e0a546b3dfc946206d1176c86875c532b226df Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Tue, 23 Oct 2012 16:51:10 -0600 Subject: [PATCH] moving around files --- .gitignore | 2 -- Makefile | 2 +- README | 10 +++++----- etc/.gitignore | 1 + hello.c => etc/hello.c | 0 5 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 etc/.gitignore rename hello.c => etc/hello.c (100%) diff --git a/.gitignore b/.gitignore index 106c069..b60f454 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,6 @@ mutate mutate2 clang-mutate compile_commands.json -hello -hello-no-include *_num.c *_del.c *_ins.c diff --git a/Makefile b/Makefile index c05251c..e092a7b 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ clang-mutate: ASTMutate.o clang-mutate.o $(CXX) -o $@ $^ $(CLANGLIBS) $(LLVMLDFLAGS) clean: - -rm -f $(EXES) $(OBJECTS) ASTMutate.o compile_commands.json a.out hello hello_* hello-* *~ + -rm -f $(EXES) $(OBJECTS) ASTMutate.o compile_commands.json a.out etc/hello *~ install: clang-mutate cp $< $$(dirname $$(which clang)) diff --git a/README b/README index c246276..3723fc7 100644 --- a/README +++ b/README @@ -19,7 +19,7 @@ when copied to the same directory as the clang executable. Running For example, - $ cat hello.c + $ cat etc/hello.c #include int main(int argc, char *argv[]) { @@ -27,11 +27,11 @@ For example, return 0; } - $ clang-mutate -ids hello.c -- + $ clang-mutate -ids etc/hello.c -- Processing: hello.c. 8 - $ clang-mutate -number hello.c -- + $ clang-mutate -number etc/hello.c -- Processing: hello.c. /* numbered using clang-mutate */ #include @@ -41,7 +41,7 @@ For example, /* 6[ */return /* 7[ */0/* ]6 *//* ]7 */; }/* ]0 */ - $ clang-mutate -delete -stmt1=6 hello.c -- + $ clang-mutate -delete -stmt1=6 etc/hello.c -- Processing: hello.c. /* deleted 6 using clang-mutate */ #include @@ -51,7 +51,7 @@ For example, /* deleted:6 */; } - $ clang-mutate -set -stmt1=4 -value="'good bye'" hello.c -- + $ clang-mutate -set -stmt1=4 -value="'good bye'" etc/hello.c -- Processing: /home/eschulte/src/clang-mutate/hello.c. #include int main(int argc, char *argv[]) diff --git a/etc/.gitignore b/etc/.gitignore new file mode 100644 index 0000000..ce01362 --- /dev/null +++ b/etc/.gitignore @@ -0,0 +1 @@ +hello diff --git a/hello.c b/etc/hello.c similarity index 100% rename from hello.c rename to etc/hello.c