Skip to content

Commit

Permalink
Rename TODO to TODO:
Browse files Browse the repository at this point in the history
  • Loading branch information
nordlow committed Aug 9, 2020
1 parent d439b69 commit 2c07580
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion benchmarks/pidigits/src/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public:
q = q * k;
}

uint extract(uint x) // TODO `const`
uint extract(uint x) // TODO: `const`
{
tmp0 = q * x + r;
tmp1 = tmp0 / t;
Expand Down
10 changes: 5 additions & 5 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ libs "gmp" "c"

# use better linker
dflags "-Xcc=-fuse-ld=gold" platform="linux-ldc" # use GNU gold linker
# TODO benchmark LDC's new -link-internally
# TODO: benchmark LDC's new -link-internally

importPaths "src"

buildType "release" {
buildOptions "releaseMode" "optimize" "inline" # TODO -march=native -ffast-math
buildOptions "releaseMode" "optimize" "inline" # TODO: -march=native -ffast-math
}

buildType "unittest" {
Expand All @@ -33,14 +33,14 @@ buildType "unittest-sanitized" {
dflags "-fsanitize=address" platform="posix-ldc" # test build uses LDC's sanitizer by default
}

# TODO this doesn't work
# TODO: this doesn't work
buildType "unittest-ccc" {
buildOptions "unittests" "debugMode" "debugInfo"
dflags "-fsanitize=address" platform="posix-ldc" # test build uses LDC's sanitizer by default
# TODO dflags "-d-version=ccc"
# TODO: dflags "-d-version=ccc"
}

buildType "release-unittest" {
buildOptions "releaseMode" "optimize" "inline" # TODO -march=native -ffast-math
buildOptions "releaseMode" "optimize" "inline" # TODO: -march=native -ffast-math
dflags "-unittest"
}

0 comments on commit 2c07580

Please sign in to comment.