[PATCH] D36177: [clang-diff] Add commandline arguments.

2017-08-18 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL311173: [clang-diff] Add commandline arguments. (authored by krobelus). Changed prior to commit: https://reviews.llvm.org/D36177?vs=109502&id=111690#toc Repository: rL LLVM https://reviews.llvm.org/

[PATCH] D36177: [clang-diff] Add commandline arguments.

2017-08-03 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman accepted this revision. arphaman added a comment. This revision is now accepted and ready to land. I think you have to test the -p option too (check the compilation database can be loaded and arguments are propagated to the parser), otherwise LGTM! https://reviews.llvm.org/D36177 __

[PATCH] D36177: [clang-diff] Add commandline arguments.

2017-08-03 Thread Johannes Altmanninger via Phabricator via cfe-commits
johannes updated this revision to Diff 109502. johannes added a comment. fix tests https://reviews.llvm.org/D36177 Files: test/Tooling/clang-diff-args.test test/Tooling/clang-diff-basic.cpp tools/clang-diff/ClangDiff.cpp Index: tools/clang-diff/ClangDiff.cpp =

[PATCH] D36177: [clang-diff] Add commandline arguments.

2017-08-03 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman added inline comments. Comment at: test/Tooling/clang-diff-args.sh:1 +RUN: echo a > %t.cpp + I think a '.test' extension rather than '.sh' is better Comment at: test/Tooling/clang-diff-args.sh:3 + +RUN: echo "CHECK: unknown type name '

[PATCH] D36177: [clang-diff] Add commandline arguments.

2017-08-02 Thread Johannes Altmanninger via Phabricator via cfe-commits
johannes added a comment. In https://reviews.llvm.org/D36177#828909, @arphaman wrote: > There should be a test that ensures that `stop-after` works and `extra-arg`s > are correctly passed to the compiler. `stop-after` is not tested yet. It is also broken in this patch, I will move it to a lat

[PATCH] D36177: [clang-diff] Add commandline arguments.

2017-08-02 Thread Johannes Altmanninger via Phabricator via cfe-commits
johannes updated this revision to Diff 109415. johannes added a comment. add some test, replace -no-compilation-database with -- https://reviews.llvm.org/D36177 Files: include/clang/Tooling/ASTDiff/ASTDiff.h lib/Tooling/ASTDiff/ASTDiff.cpp test/Tooling/clang-diff-args.sh test/Tooling/cl