Chromium Code Reviews| Index: Makefile.standalone |
| diff --git a/Makefile.standalone b/Makefile.standalone |
| index 6a50f9a0302b8687c86509254db370d32b400f2f..12a3d11502f411f21bcf54f3e840066fbd81a6dd 100644 |
| --- a/Makefile.standalone |
| +++ b/Makefile.standalone |
| @@ -80,5 +80,12 @@ format: |
| $(LLVM_BIN_PATH)/clang-format -style=LLVM -i \ |
| src/Ice*.h src/Ice*.cpp src/llvm2ice.cpp |
|
jvoung (off chromium)
2014/07/08 23:56:24
btw, I think the reason Karl missed clang-formatti
|
| +# Assumes clang-format-diff.py is within $PATH, and that the |
| +# clang-format it calls is also within $PATH. This may require adding |
| +# /usr/lib/clang-format to $PATH. |
| +format-diff: |
| + git diff -U0 HEAD^ | \ |
| + /usr/lib/clang-format/clang-format-diff.py -p1 -style=LLVM -i |
|
jvoung (off chromium)
2014/07/08 23:56:24
Not sure of a better way... my desktop definitely
|
| + |
| clean: |
| rm -rf llvm2ice *.o build/ |