Olli Etuaho | c683311 | 2015-04-22 15:15:54 +0300 | [diff] [blame^] | 1 | // |
| 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 | |
| 11 | class TIntermNode; |
| 12 | |
| 13 | void PruneEmptyDeclarations(TIntermNode *root); |
| 14 | |
| 15 | #endif // COMPILER_TRANSLATOR_PRUNEEMPTYDECLARATIONS_H_ |