Remove unicode characters from comments
Bug: b/216318790
Change-Id: Ideb54a9795803f96e72667071856f5d87734d2fb
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/59728
Tested-by: Alexis Hétu <sugoi@google.com>
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Commit-Queue: Alexis Hétu <sugoi@google.com>
diff --git a/src/Device/Memset.hpp b/src/Device/Memset.hpp
index 870559f..91c7e4d 100644
--- a/src/Device/Memset.hpp
+++ b/src/Device/Memset.hpp
@@ -19,7 +19,7 @@
#include <type_traits>
// GCC 8+ warns that
-// "‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘T’;
+// "'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'T';
// use assignment or value-initialization instead [-Werror=class-memaccess]"
// This is benign iff it happens before any of the base or member constructors are called.
#if defined(__GNUC__) && (__GNUC__ >= 8)
diff --git a/src/Pipeline/SpirvShader.hpp b/src/Pipeline/SpirvShader.hpp
index 4b125e2..6c90535 100644
--- a/src/Pipeline/SpirvShader.hpp
+++ b/src/Pipeline/SpirvShader.hpp
@@ -222,7 +222,7 @@
// encoding scheme. The UTF-8 octets (8-bit bytes) are packed
// four per word, following the little-endian convention (i.e.,
// the first octet is in the lowest-order 8 bits of the word).
- // The final word contains the string’s nul-termination
+ // The final word contains the string's nul-termination
// character (0), and all contents past the end of the string in
// the final word are padded with 0.
if(u8[3] == 0)