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.
Differential D36989
[clang-diff] Refactor stop-after command-line flag jgravelle-google on Aug 21 2017, 4:04 PM. Authored by
Details 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. Comment Actions Oh wait I get linker errors with BUILD_SHARED_LIBS=1 undefined reference to ClangDiffCategory in ASTDiff 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. |