mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-09 14:10:07 +00:00
Add IWYU pragmas to let code-completers use vulkan.hpp. (#1939)
This commit is contained in:
parent
fde7e0fc84
commit
b2c409dd31
@ -99,6 +99,9 @@ void VulkanHppGenerator::generateEnumsHppFile() const
|
||||
#ifndef VULKAN_ENUMS_HPP
|
||||
# define VULKAN_ENUMS_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
${Flags}
|
||||
@ -317,6 +320,9 @@ void VulkanHppGenerator::generateFuncsHppFile() const
|
||||
#ifndef VULKAN_FUNCS_HPP
|
||||
# define VULKAN_FUNCS_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
${commandDefinitions}
|
||||
@ -339,6 +345,9 @@ void VulkanHppGenerator::generateHandlesHppFile() const
|
||||
#ifndef VULKAN_HANDLES_HPP
|
||||
# define VULKAN_HANDLES_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
${structForwardDeclarations}
|
||||
@ -723,6 +732,9 @@ void VulkanHppGenerator::generateStructsHppFile() const
|
||||
#ifndef VULKAN_STRUCTS_HPP
|
||||
# define VULKAN_STRUCTS_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
#include <cstring> // strcmp
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
|
@ -8,6 +8,9 @@
|
||||
#ifndef VULKAN_ENUMS_HPP
|
||||
#define VULKAN_ENUMS_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
template <typename FlagBitsType>
|
||||
|
@ -8,6 +8,9 @@
|
||||
#ifndef VULKAN_FUNCS_HPP
|
||||
#define VULKAN_FUNCS_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
|
||||
|
@ -8,6 +8,9 @@
|
||||
#ifndef VULKAN_HANDLES_HPP
|
||||
#define VULKAN_HANDLES_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
|
||||
|
@ -8,6 +8,9 @@
|
||||
#ifndef VULKAN_STRUCTS_HPP
|
||||
#define VULKAN_STRUCTS_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
#include <cstring> // strcmp
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
|
@ -8,6 +8,9 @@
|
||||
#ifndef VULKAN_ENUMS_HPP
|
||||
#define VULKAN_ENUMS_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
template <typename FlagBitsType>
|
||||
|
@ -8,6 +8,9 @@
|
||||
#ifndef VULKAN_FUNCS_HPP
|
||||
#define VULKAN_FUNCS_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
|
||||
|
@ -8,6 +8,9 @@
|
||||
#ifndef VULKAN_HANDLES_HPP
|
||||
#define VULKAN_HANDLES_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
|
||||
|
@ -8,6 +8,9 @@
|
||||
#ifndef VULKAN_STRUCTS_HPP
|
||||
#define VULKAN_STRUCTS_HPP
|
||||
|
||||
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
|
||||
// IWYU pragma: private; include "vulkan.hpp"
|
||||
|
||||
#include <cstring> // strcmp
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
|
Loading…
Reference in New Issue
Block a user