blob: d7c3ae609bd3e19bf4a82af04087d3f1f447f154 [file] [log] [blame]
Olli Etuaho822fa842015-04-16 14:26:10 +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 SeparateArrayInitialization function splits each array initialization into a declaration and an assignment.
7// Example:
8// type[n] a = initializer;
9// will effectively become
10// type[n] a;
11// a = initializer;
12
13#ifndef COMPILER_TRANSLATOR_SEPARATEARRAYINITIALIZATION_H_
14#define COMPILER_TRANSLATOR_SEPARATEARRAYINITIALIZATION_H_
15
16class TIntermNode;
17
18void SeparateArrayInitialization(TIntermNode *root);
19
20#endif // COMPILER_TRANSLATOR_SEPARATEARRAYINITIALIZATION_H_