[C++] Fix clang -Wnewline-eof warning (#7711)

* Fix clang -Wnewline-eof warning

* Enable -Wnewline-eof warning

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
mogemimi
2022-12-15 14:35:54 +09:00
committed by GitHub
parent 52d1b77941
commit 9927747d4e
17 changed files with 17 additions and 16 deletions

View File

@@ -13,4 +13,4 @@ void ParseFlexbuffersFromJsonWithNullTest();
} // namespace tests
} // namespace flatbuffers
#endif // TESTS_FLEXBUFFERS_TEST_H
#endif // TESTS_FLEXBUFFERS_TEST_H

View File

@@ -171,4 +171,4 @@ void JsonUnsortedArrayTest() {
}
} // namespace tests
} // namespace flatbuffers
} // namespace flatbuffers

View File

@@ -15,4 +15,4 @@ void JsonUnsortedArrayTest();
} // namespace tests
} // namespace flatbuffers
#endif
#endif

View File

@@ -35,4 +35,4 @@ void UnPackTo(const uint8_t *flatbuf);
} // namespace tests
} // namespace flatbuffers
#endif
#endif

View File

@@ -98,4 +98,4 @@ void OptionalScalarsTest() {
}
}
}
}

View File

@@ -30,4 +30,4 @@ void FieldIdentifierTest();
} // namespace tests
} // namespace flatbuffers
#endif // TESTS_PARSER_TEST_H
#endif // TESTS_PARSER_TEST_H

View File

@@ -15,4 +15,4 @@ void ParseProtoBufAsciiTest();
} // namespace tests
} // namespace flatbuffers
#endif
#endif