From 08fcf8a4abdc7131033e25694be8cb71f5cf1c0e Mon Sep 17 00:00:00 2001 From: Ehsan Date: Thu, 19 Sep 2019 09:26:24 -0500 Subject: [PATCH] Fix header include syntax. (#2882) --- source/opt/function.cpp | 7 ++++--- source/opt/optimizer.cpp | 2 +- tools/util/cli_consumer.h | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/source/opt/function.cpp b/source/opt/function.cpp index 25200525..efda68b7 100644 --- a/source/opt/function.cpp +++ b/source/opt/function.cpp @@ -13,13 +13,14 @@ // limitations under the License. #include "source/opt/function.h" -#include "function.h" -#include "ir_context.h" -#include #include #include +#include "function.h" +#include "ir_context.h" +#include "source/util/bit_vector.h" + namespace spvtools { namespace opt { diff --git a/source/opt/optimizer.cpp b/source/opt/optimizer.cpp index 1ad88c0e..1e7df991 100644 --- a/source/opt/optimizer.cpp +++ b/source/opt/optimizer.cpp @@ -21,12 +21,12 @@ #include #include -#include #include "source/opt/build_module.h" #include "source/opt/graphics_robust_access_pass.h" #include "source/opt/log.h" #include "source/opt/pass_manager.h" #include "source/opt/passes.h" +#include "source/spirv_optimizer_options.h" #include "source/util/make_unique.h" #include "source/util/string_utils.h" diff --git a/tools/util/cli_consumer.h b/tools/util/cli_consumer.h index ca3d91b9..64a5e46b 100644 --- a/tools/util/cli_consumer.h +++ b/tools/util/cli_consumer.h @@ -15,7 +15,7 @@ #ifndef SOURCE_UTIL_CLI_CONSUMMER_H_ #define SOURCE_UTIL_CLI_CONSUMMER_H_ -#include +#include "include/spirv-tools/libspirv.h" namespace spvtools { namespace utils {