diff options
author | mogemimi <mogemimi@enginetrouble.net> | 2022-12-15 14:35:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 21:35:54 -0800 |
commit | 9927747d4ea26ee873d5fa57d01408f6b6f1221b (patch) | |
tree | 426cf3e54a93ec2a99cecaceb30bb299672f9064 /include | |
parent | 52d1b7794151ecba4f54502bb6fb71f338becef1 (diff) | |
download | flatbuffers-9927747d4ea26ee873d5fa57d01408f6b6f1221b.tar.gz flatbuffers-9927747d4ea26ee873d5fa57d01408f6b6f1221b.tar.bz2 flatbuffers-9927747d4ea26ee873d5fa57d01408f6b6f1221b.zip |
[C++] Fix clang `-Wnewline-eof` warning (#7711)
* Fix clang -Wnewline-eof warning
* Enable -Wnewline-eof warning
Co-authored-by: Derek Bailey <derekbailey@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/flatbuffers/allocator.h | 2 | ||||
-rw-r--r-- | include/flatbuffers/buffer_ref.h | 2 | ||||
-rw-r--r-- | include/flatbuffers/default_allocator.h | 2 | ||||
-rw-r--r-- | include/flatbuffers/string.h | 2 | ||||
-rw-r--r-- | include/flatbuffers/struct.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/include/flatbuffers/allocator.h b/include/flatbuffers/allocator.h index f4ef22db..30427190 100644 --- a/include/flatbuffers/allocator.h +++ b/include/flatbuffers/allocator.h @@ -65,4 +65,4 @@ class Allocator { } // namespace flatbuffers -#endif // FLATBUFFERS_ALLOCATOR_H_
\ No newline at end of file +#endif // FLATBUFFERS_ALLOCATOR_H_ diff --git a/include/flatbuffers/buffer_ref.h b/include/flatbuffers/buffer_ref.h index ce302073..f70941fc 100644 --- a/include/flatbuffers/buffer_ref.h +++ b/include/flatbuffers/buffer_ref.h @@ -50,4 +50,4 @@ template<typename T> struct BufferRef : BufferRefBase { } // namespace flatbuffers -#endif // FLATBUFFERS_BUFFER_REF_H_
\ No newline at end of file +#endif // FLATBUFFERS_BUFFER_REF_H_ diff --git a/include/flatbuffers/default_allocator.h b/include/flatbuffers/default_allocator.h index 8b173af1..d4724122 100644 --- a/include/flatbuffers/default_allocator.h +++ b/include/flatbuffers/default_allocator.h @@ -61,4 +61,4 @@ inline uint8_t *ReallocateDownward(Allocator *allocator, uint8_t *old_p, } // namespace flatbuffers -#endif // FLATBUFFERS_DEFAULT_ALLOCATOR_H_
\ No newline at end of file +#endif // FLATBUFFERS_DEFAULT_ALLOCATOR_H_ diff --git a/include/flatbuffers/string.h b/include/flatbuffers/string.h index 3db95fce..97e399fd 100644 --- a/include/flatbuffers/string.h +++ b/include/flatbuffers/string.h @@ -61,4 +61,4 @@ static inline flatbuffers::string_view GetStringView(const String *str) { } // namespace flatbuffers -#endif // FLATBUFFERS_STRING_H_
\ No newline at end of file +#endif // FLATBUFFERS_STRING_H_ diff --git a/include/flatbuffers/struct.h b/include/flatbuffers/struct.h index d8753c84..abacc8a9 100644 --- a/include/flatbuffers/struct.h +++ b/include/flatbuffers/struct.h @@ -50,4 +50,4 @@ class Struct FLATBUFFERS_FINAL_CLASS { } // namespace flatbuffers -#endif // FLATBUFFERS_STRUCT_H_
\ No newline at end of file +#endif // FLATBUFFERS_STRUCT_H_ |