Cleanup doc and lint warnings.

This CL fixes up several documentation and linter warnings.

Change-Id: Ic367ba1937f20dfe47a8c8e4035c17e8a3d0f2e8
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/17880
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
dan sinclair
2020-03-26 15:31:36 +00:00
parent 33d34650e8
commit f26d9a8f26
7 changed files with 29 additions and 8 deletions

View File

@@ -246,7 +246,7 @@ int main(int argc, const char** argv) {
std::cout << kUsage << std::endl;
return 0;
}
if (options.input_filename == "") {
if (options.input_filename.empty()) {
std::cerr << "Input file missing" << std::endl;
std::cout << kUsage << std::endl;
return 1;