Add CharToLower and CharToUpper into util.s (#6126)
authorVladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com>
Mon, 21 Sep 2020 16:31:27 +0000 (23:31 +0700)
committerGitHub <noreply@github.com>
Mon, 21 Sep 2020 16:31:27 +0000 (09:31 -0700)
commitfb4e1c34f995d50f03c8c306b602e20b73884810
tree97b625c4f1cea1b2a5908bbb59fa193dd5878ef8
parent8c67b5b129f445c6bf5dbcbf2a18fec4c6334f16
Add CharToLower and CharToUpper into util.s (#6126)

This commit adds replacement of `::tolower` and `::toupper`.
Added CharToLower and CharToUpper routines reduce the number of cast operators
that required for correct usage of standard C/C++ `::tolower/toupper` routines.
include/flatbuffers/util.h
src/idl_gen_cpp.cpp
src/idl_gen_dart.cpp
src/idl_gen_python.cpp
src/idl_gen_rust.cpp
src/idl_gen_swift.cpp
src/idl_parser.cpp