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/RewriteDoWhile.h b/src/compiler/translator/RewriteDoWhile.h
index f6ec1ca..91a7958 100644
--- a/src/compiler/translator/RewriteDoWhile.h
+++ b/src/compiler/translator/RewriteDoWhile.h
@@ -10,7 +10,10 @@
#ifndef COMPILER_TRANSLATOR_REWRITEDOWHILE_H_
#define COMPILER_TRANSLATOR_REWRITEDOWHILE_H_
+namespace sh
+{
class TIntermNode;
void RewriteDoWhile(TIntermNode *root, unsigned int *temporaryIndex);
+} // namespace sh
#endif // COMPILER_TRANSLATOR_REWRITEDOWHILE_H_