This patch fixes clang-tidy warnings on wasm-only files.
The list of checks used is:
-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,readability-identifier-naming,modernize-*
(LLVM's default .clang-tidy list is the same except it does not have
modernize-*.)
The list of fixes are:
- Variable names start with an uppercase letter
- Function names start with a lowercase letter
- Use auto when you use casts so the type is evident
I prefer the previous explicit version myself.. otherwise one has to visually cross reference the return type to see what is being returned here is an empty string.