summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/angle/src/compiler/translator/NodeSearch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/angle/src/compiler/translator/NodeSearch.h')
-rw-r--r--src/3rdparty/angle/src/compiler/translator/NodeSearch.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/3rdparty/angle/src/compiler/translator/NodeSearch.h b/src/3rdparty/angle/src/compiler/translator/NodeSearch.h
index b13b1baabb..af86b8bde4 100644
--- a/src/3rdparty/angle/src/compiler/translator/NodeSearch.h
+++ b/src/3rdparty/angle/src/compiler/translator/NodeSearch.h
@@ -9,7 +9,7 @@
#ifndef COMPILER_TRANSLATOR_NODESEARCH_H_
#define COMPILER_TRANSLATOR_NODESEARCH_H_
-#include "compiler/translator/IntermNode.h"
+#include "compiler/translator/IntermTraverse.h"
namespace sh
{
@@ -18,10 +18,7 @@ template <class Parent>
class NodeSearchTraverser : public TIntermTraverser
{
public:
- NodeSearchTraverser()
- : TIntermTraverser(true, false, false),
- mFound(false)
- {}
+ NodeSearchTraverser() : TIntermTraverser(true, false, false), mFound(false) {}
bool found() const { return mFound; }
@@ -43,17 +40,17 @@ class FindDiscard : public NodeSearchTraverser<FindDiscard>
{
switch (node->getFlowOp())
{
- case EOpKill:
- mFound = true;
- break;
+ case EOpKill:
+ mFound = true;
+ break;
- default: break;
+ default:
+ break;
}
return !mFound;
}
};
-
}
-#endif // COMPILER_TRANSLATOR_NODESEARCH_H_
+#endif // COMPILER_TRANSLATOR_NODESEARCH_H_