Rename stop-after to stop-after-topdown. When building LLVM with
-DLLVM_BUILD_LLVM_DYLIB=ON, stop-after collides with the stop-after
already present in LLVM.
This also refactors the flag to a boolean, to reflect that it can only
be in two states.
Paths
| Differential D36989
[clang-diff] Refactor stop-after command-line flag ClosedPublic Authored by jgravelle-google on Aug 21 2017, 4:04 PM.
Details Summary Rename stop-after to stop-after-topdown. When building LLVM with This also refactors the flag to a boolean, to reflect that it can only
Diff Detail
Event TimelineComment Actions Looks good, thanks! I have a second option stop-after option coming up but I will use another boolean for it, it is simpler this way. This revision is now accepted and ready to land.Aug 22 2017, 1:40 AM Comment Actions Oh wait I get linker errors with BUILD_SHARED_LIBS=1 undefined reference to ClangDiffCategory in ASTDiff This revision now requires changes to proceed.Aug 22 2017, 1:49 AM Comment Actions If you have more stop-after options it'd probably be simpler to leave it as one field. I'll just rename it to "stop-diff-after" to avoid the name collision. Comment Actions
Ok, you can go ahead. Or, if I should do it let me know. Closed by commit rL311476: [clang-diff] Refactor stop-after command-line flag (authored by jgravelle). · Explain WhyAug 22 2017, 10:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 112086 lib/Tooling/ASTDiff/ASTDiff.cpp
test/Tooling/clang-diff-topdown.cpp
tools/clang-diff/ClangDiff.cpp
|