Skip to content

Commit

Permalink
[doc] Consistently capitalize C++
Browse files Browse the repository at this point in the history
  • Loading branch information
mpsijm committed Mar 27, 2024
1 parent 9e2a377 commit ab1212e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def _get_language(self, deps=None):
return False

def _checks(self):
# Make sure c++ does not depend on stdc++.h, because it's not portable.
# Make sure C++ does not depend on stdc++.h, because it's not portable.
if self.language == 'cpp':
for f in self.source_files:
try:
Expand Down
2 changes: 1 addition & 1 deletion bin/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def build_parser():
runparser.add_argument(
'--sanitizer',
action='store_true',
help='Run submissions with additional sanitizer flags (currently only c++). Note that this sets --memory unlimited.',
help='Run submissions with additional sanitizer flags (currently only C++). Note that this sets --memory unlimited.',
)

# Test
Expand Down
2 changes: 1 addition & 1 deletion doc/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Use `bt run -v` to show results for all testcases.
- `--table`: Print a table of which testcases were solved by which submissions. May be used to deduplicate testcases that fail the same solutions.
- `--overview`/`-o`: Print a live overview of the received verdicts for all submissions and testcases. If combined with `--no-bar` only the final table is printed.
- `--no-testcase-sanity-checks`: when passed, all sanity checks on the testcases are skipped. You might want to set this in `.bapctools.yaml`.
- `--sanitizer`: when passed, run submissions with additional sanitizer flags (currently only c++). Note that this sets --memory unlimited.
- `--sanitizer`: when passed, run submissions with additional sanitizer flags (currently only C++). Note that this sets --memory unlimited.

## `test`

Expand Down
2 changes: 1 addition & 1 deletion doc/generators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ data:
# Types of generator programs.
"01":
in: "3" # string is written to 01.in.
"02": greedy.cpp 4 # c++ is compiled, just like validators, and the resulting binary is run with argument `4`.
"02": greedy.cpp 4 # C++ is compiled, just like validators, and the resulting binary is run with argument `4`.
"03": dir 5 # directories are OK, just like validators
"04": tree 5 # keys from the global generators: dictionary may also be used.
"05":
Expand Down

0 comments on commit ab1212e

Please sign in to comment.