From 4735f01193b87951d66cbd3bda061f8c0106437b Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Tue, 3 Nov 2020 19:13:50 +0000 Subject: [PATCH] Move diagnostic/printer.h into the public API Bug: None Change-Id: I6dc33f3e589de80b225199fb01a0d80df774ada3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/31740 Commit-Queue: Ryan Harrison Commit-Queue: dan sinclair Reviewed-by: dan sinclair Reviewed-by: Ben Clayton --- include/tint/tint.h | 1 + samples/main.cc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tint/tint.h b/include/tint/tint.h index dbbffac017..ade7f9ce69 100644 --- a/include/tint/tint.h +++ b/include/tint/tint.h @@ -20,6 +20,7 @@ #include "src/ast/pipeline_stage.h" #include "src/context.h" +#include "src/diagnostic/printer.h" #include "src/inspector/inspector.h" #include "src/reader/reader.h" #include "src/transform/bound_array_accessors_transform.h" diff --git a/samples/main.cc b/samples/main.cc index 5494ef1d31..53d490a1cb 100644 --- a/samples/main.cc +++ b/samples/main.cc @@ -24,7 +24,6 @@ #include "spirv-tools/libspirv.hpp" #endif // TINT_BUILD_SPV_READER -#include "src/diagnostic/printer.h" #include "tint/tint.h" namespace {