[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

@@ -630,4 +630,4 @@ std::unique_ptr<BfbsGenerator> NewLuaBfbsGenerator(
return std::unique_ptr<LuaBfbsGenerator>(new LuaBfbsGenerator(flatc_version));
}
} // namespace flatbuffers
} // namespace flatbuffers

View File

@@ -30,4 +30,4 @@ std::unique_ptr<BfbsGenerator> NewLuaBfbsGenerator(
} // namespace flatbuffers
#endif // FLATBUFFERS_BFBS_GEN_LUA_H_
#endif // FLATBUFFERS_BFBS_GEN_LUA_H_

View File

@@ -48,4 +48,4 @@ class BfbsNamer : public Namer {
} // namespace flatbuffers
#endif // FLATBUFFERS_BFBS_NAMER
#endif // FLATBUFFERS_BFBS_NAMER

View File

@@ -389,4 +389,4 @@ class BinaryAnnotator {
} // namespace flatbuffers
#endif // FLATBUFFERS_BINARY_ANNOTATOR_H_
#endif // FLATBUFFERS_BINARY_ANNOTATOR_H_