Prevent committing WIP code

This commit introduces a check in `check-conventions.sh` to prevent
committing code denoted by a `// WIP` comment, that are supposed to be
used to remind the developer something has to be changed before
submitting a pull request.
This commit is contained in:
Alessandro Di Federico
2018-09-21 10:29:40 +02:00
parent 5513ae606c
commit 6cfabd96f8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ bool StackAnalysis<AnalyzeABI>::runOnFunction(Function &F) {
|| (IsSETNotToPC
and not IsSETToPC
and not IsReturnAddress))) {
// WIP: keep IsReturnAddress?
// TODO: keep IsReturnAddress?
// Consider addresses found in global data that have not been used in SET
// or addresses coming from SET that are not return addresses and do not
// end up in the PC directly.