IWYU pass

This commit is contained in:
Andrew Cassidy 2021-02-16 18:49:25 -08:00
parent db2d5dbe61
commit 628ad558d8
8 changed files with 25 additions and 15 deletions

View File

@ -19,14 +19,12 @@
#include "BC1Decoder.h"
#include <assert.h>
#include <stdint.h>
#include <array>
#include <cassert>
#include <cstdint>
#include "../BlockView.h"
#include "../Color.h"
#include "../Interpolator.h"
#include "../ndebug.h"
#include "BC1Block.h"

View File

@ -23,6 +23,7 @@
#include "../BC4/BC4Decoder.h"
#include "../BlockView.h"
#include "../ndebug.h"
#include "BC3Block.h"
namespace rgbcx {

View File

@ -19,12 +19,10 @@
#include "BC4Decoder.h"
#include <assert.h> // for assert
#include <array> // for array
#include <cassert> // for assert
#include "../BlockView.h" // for ColorBlock
#include "../Color.h" // for Color
#include "../ndebug.h" // for ndebug
#include "BC4Block.h"

View File

@ -19,7 +19,8 @@
#pragma once
#include <stddef.h>
#include <cassert>
#include <cstdint>
#include "../BlockDecoder.h"
#include "../BlockView.h"

View File

@ -19,7 +19,12 @@
#include "BC4Encoder.h"
#include <algorithm>
#include <algorithm> // for minmax_element
#include <array> // for array
#include <cstdint> // for uint8_t
#include <utility> // for pair
#include "BC4Block.h" // for BC4Block
namespace rgbcx {
void BC4Encoder::EncodeBlock(Byte4x4 pixels, BC4Block *const dest) const noexcept(ndebug) {

View File

@ -19,8 +19,14 @@
#pragma once
#include <cassert>
#include <cstdint>
#include "../BlockEncoder.h"
#include "../BlockView.h"
#include "../ndebug.h"
#include "BC4Block.h"
namespace rgbcx {
class BC4Encoder : public BlockEncoder<BC4Block, 4, 4> {

View File

@ -19,9 +19,9 @@
#include "BC5Decoder.h"
#include "../BC4/BC4Decoder.h"
#include "../BlockView.h"
#include "../ndebug.h"
#include "BC5Block.h"
namespace rgbcx {

View File

@ -19,8 +19,9 @@
#pragma once
#include <stddef.h>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <memory>
#include "../BC4/BC4Decoder.h"