// // Copyright 2024 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // SeparateStructFromFunctionDeclarations: Separate struct declarations from function declaration // return type. // #include "compiler/translator/tree_ops/SeparateStructFromFunctionDeclarations.h" #include "common/hash_containers.h" #include "compiler/translator/Compiler.h" #include "compiler/translator/IntermRebuild.h" #include "compiler/translator/SymbolTable.h" namespace sh { namespace { class SeparateStructFromFunctionDeclarationsTraverser : public TIntermRebuild { … }; } // anonymous namespace bool SeparateStructFromFunctionDeclarations(TCompiler &compiler, TIntermBlock &root) { … } } // namespace sh