Clean up unused includes.

This commit is contained in:
Arcady Goldmints-Orlov 2023-09-01 18:19:46 -04:00 committed by arcady-lunarg
parent 4422273e84
commit 592de6cf78
7 changed files with 2 additions and 10 deletions

View File

@ -38,7 +38,6 @@
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#include "../glslang/Include/Common.h"
namespace spv { namespace spv {

View File

@ -79,7 +79,8 @@ public:
#include "spirv.hpp" #include "spirv.hpp"
namespace spv { namespace spv {
const Id NoResult = 0;
static inline constexpr Id NoResult = 0;
// class to hold SPIR-V binary data for remapping, DCE, and debug stripping // class to hold SPIR-V binary data for remapping, DCE, and debug stripping
class spirvbin_t : public spirvbin_base_t class spirvbin_t : public spirvbin_base_t

View File

@ -44,12 +44,10 @@
#include "glslang/Public/ResourceLimits.h" #include "glslang/Public/ResourceLimits.h"
#include "Worklist.h" #include "Worklist.h"
#include "DirStackFileIncluder.h" #include "DirStackFileIncluder.h"
#include "./../glslang/Include/ShHandle.h"
#include "./../glslang/Public/ShaderLang.h" #include "./../glslang/Public/ShaderLang.h"
#include "../glslang/MachineIndependent/localintermediate.h" #include "../glslang/MachineIndependent/localintermediate.h"
#include "../SPIRV/GlslangToSpv.h" #include "../SPIRV/GlslangToSpv.h"
#include "../SPIRV/GLSL.std.450.h" #include "../SPIRV/GLSL.std.450.h"
#include "../SPIRV/doc.h"
#include "../SPIRV/disassemble.h" #include "../SPIRV/disassemble.h"
#include <array> #include <array>

View File

@ -35,7 +35,6 @@
#ifndef WORKLIST_H_INCLUDED #ifndef WORKLIST_H_INCLUDED
#define WORKLIST_H_INCLUDED #define WORKLIST_H_INCLUDED
#include "../glslang/OSDependent/osinclude.h"
#include <list> #include <list>
#include <mutex> #include <mutex>
#include <string> #include <string>

View File

@ -43,8 +43,6 @@
#include "../MachineIndependent/Scan.h" #include "../MachineIndependent/Scan.h"
#include "../MachineIndependent/preprocessor/PpContext.h" #include "../MachineIndependent/preprocessor/PpContext.h"
#include "../OSDependent/osinclude.h"
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
#include <cctype> #include <cctype>

View File

@ -42,8 +42,6 @@
#include "../MachineIndependent/Scan.h" #include "../MachineIndependent/Scan.h"
#include "../MachineIndependent/preprocessor/PpContext.h" #include "../MachineIndependent/preprocessor/PpContext.h"
#include "../OSDependent/osinclude.h"
#include <algorithm> #include <algorithm>
#include <array> #include <array>
#include <cctype> #include <cctype>

View File

@ -42,7 +42,6 @@
#include "Initialize.h" #include "Initialize.h"
#include "Scan.h" #include "Scan.h"
#include "../OSDependent/osinclude.h"
#include <algorithm> #include <algorithm>
#include "preprocessor/PpContext.h" #include "preprocessor/PpContext.h"