translator: Scope all classes with "sh".
I was seeing an odd problem with our PoolAlloc conflicting with the
glslang/Vulkan TIntermNode, so the fix was to move everything to a
separate namespace.
The bison grammars are also regenerated. No functional changes.
BUG=angleproject:1576
Change-Id: I959c7afe4c092f0d458432c07b4dcee4d39513f3
Reviewed-on: https://chromium-review.googlesource.com/408267
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
diff --git a/src/compiler/translator/Cache.h b/src/compiler/translator/Cache.h
index 1d2abb7..9a5607f 100644
--- a/src/compiler/translator/Cache.h
+++ b/src/compiler/translator/Cache.h
@@ -16,6 +16,9 @@
#include "compiler/translator/Types.h"
#include "compiler/translator/PoolAlloc.h"
+namespace sh
+{
+
class TCache
{
public:
@@ -87,4 +90,6 @@
static TCache *sCache;
};
+} // namespace sh
+
#endif // COMPILER_TRANSLATOR_CACHE_H_