graveljp
graveljp
This adds new beginLayer and endLayer functions to open and close layers in the canvas. While layers are active, draw calls operate on a separate texture that gets composited to...
Consider this simplified assert-style `Check` class: **check.h** ```C++ #pragma once #include class Check { public: Check(bool condition); template std::ostream& operator
Consider the following files: **ptr.h** ```C++ #pragma once #include "cstddef" class Ptr { public: constexpr explicit operator bool() const { return !!ptr_; } constexpr bool operator!=(std::nullptr_t) { return !!ptr_; }...
Consider the following files: **map.h** ```c++ #pragma once template class Hasher; template class Map { KeyHasher hasher_; }; ``` **foo.h** ```c++ #pragma once class Foo {}; ``` **foo_hasher.h** ```c++ #pragma...
Clangd's Include Cleaner doesn't know that the definition of a child class is needed to be able to cast a child object to the parent type. See for instance: **parent.h**...
Clangd's include cleaner fails for symbols from one file forward-declared and aliased in a different file. In the following example, both `"forward.h"` and `"impl.h"` are required for the code to...