blob: 122e8309022c0686d07304611aeb8c2874efe2c0 [file] [log] [blame]
Olli Etuahoc6833112015-04-22 15:15:54 +03001//
2// Copyright (c) 2002-2015 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6// The PruneEmptyDeclarations function prunes unnecessary empty declarations and declarators from the AST.
7
8#ifndef COMPILER_TRANSLATOR_PRUNEEMPTYDECLARATIONS_H_
9#define COMPILER_TRANSLATOR_PRUNEEMPTYDECLARATIONS_H_
10
11class TIntermNode;
12
13void PruneEmptyDeclarations(TIntermNode *root);
14
15#endif // COMPILER_TRANSLATOR_PRUNEEMPTYDECLARATIONS_H_