Reactor: Remove trailing semicolons. Produce warnings for Chrome, resulting in errors. Change-Id: Icda954e1d6c8da79ecf5eddbd542a38a8d97847a Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/29670 Presubmit-Ready: Ben Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Tested-by: Ben Clayton <bclayton@google.com>
diff --git a/src/Reactor/Reactor.hpp b/src/Reactor/Reactor.hpp index 9d2f788..fc9a5a1 100644 --- a/src/Reactor/Reactor.hpp +++ b/src/Reactor/Reactor.hpp
@@ -3183,16 +3183,16 @@ // returns the printf value(s) for the given LValue. template <typename T> - static std::vector<Value*> val(const LValue<T>& v) { return val(RValue<T>(v.loadValue())); }; + static std::vector<Value*> val(const LValue<T>& v) { return val(RValue<T>(v.loadValue())); } // returns the printf value(s) for the given RValue. template <typename T> - static std::vector<Value*> val(const RValue<T>& v) { return Ty<T>::val(v); }; + static std::vector<Value*> val(const RValue<T>& v) { return Ty<T>::val(v); } // returns the printf value from for the given type with a // PrintValue::Ty<T> specialization. template <typename T> - static std::vector<Value*> val(const T& v) { return Ty<T>::val(v); }; + static std::vector<Value*> val(const T& v) { return Ty<T>::val(v); } // returns the printf values for all the values in the given array. template <typename T> @@ -3205,7 +3205,7 @@ values.insert(values.end(), v.begin(), v.end()); } return values; - }; + } // fmt returns a comma-delimited list of the string el repeated count // times enclosed in square brackets.