mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Added --filename-suffix and --filename-ext to flatc (#5778)
* Fixed refractoring issue in reflection/generate_code.sh. Also, mv deletes the original file, so I don't need to clean it up manually in that case. * Added --filename-suffix and --filename-ext to flatc * Fixed typo and added example generation of suffix and extension for C++ * Removed extra ; * Removed clang-format block from a region that didn't need it. Fixed an auto format of another clang-format block * Added docs, fixed pointer alignment, removed suffix test file
This commit is contained in:
@@ -26,7 +26,9 @@ void TestFail(const char *expval, const char *val, const char *exp,
|
||||
|
||||
void TestEqStr(const char *expval, const char *val, const char *exp,
|
||||
const char *file, int line, const char *func) {
|
||||
if (strcmp(expval, val) != 0) { TestFail(expval, val, exp, file, line, func); }
|
||||
if (strcmp(expval, val) != 0) {
|
||||
TestFail(expval, val, exp, file, line, func);
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(FLATBUFFERS_MEMORY_LEAK_TRACKING) && defined(_MSC_VER) && \
|
||||
|
||||
Reference in New Issue
Block a user