mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Enable build/header_guard
This CL enables the build/header_guard lint check. The existing headers which failed the check were updated, missing headers added. An exclusion file for the generator templates was added as well. Bug: dawn:1339 Change-Id: If572e460179ad501293d5d6cf01e0ea900daa979 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86207 Reviewed-by: Ben Clayton <bclayton@google.com> Auto-Submit: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
05caf3a20f
commit
479dc6b7eb
@@ -1,2 +1 @@
|
||||
filter=-build/header_guard
|
||||
filter=-legal/copyright
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_
|
||||
#define SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_
|
||||
|
||||
#include <dawn/EnumClassBitmasks.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_DAWN_PROC_H_
|
||||
#define SRC_INCLUDE_DAWN_DAWN_PROC_H_
|
||||
|
||||
#include <dawn/dawn_proc.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_DAWN_PROC_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_
|
||||
#define SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_
|
||||
|
||||
#include <dawn/dawn_thread_dispatch_proc.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_DAWN_WSI_H_
|
||||
#define SRC_INCLUDE_DAWN_DAWN_WSI_H_
|
||||
|
||||
#include <dawn/dawn_wsi.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_DAWN_WSI_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_WEBGPU_H_
|
||||
#define SRC_INCLUDE_DAWN_WEBGPU_H_
|
||||
|
||||
#include <dawn/webgpu.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_WEBGPU_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_WEBGPU_CPP_H_
|
||||
#define SRC_INCLUDE_DAWN_WEBGPU_CPP_H_
|
||||
|
||||
#include "dawn/webgpu_cpp.h"
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_WEBGPU_CPP_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_
|
||||
#define SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_
|
||||
|
||||
#include <dawn/native/D3D12Backend.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_
|
||||
#define SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_
|
||||
|
||||
#include <dawn/native/DawnNative.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_
|
||||
#define SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_
|
||||
|
||||
#include <dawn/native/MetalBackend.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_
|
||||
#define SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_
|
||||
|
||||
#include <dawn/native/NullBackend.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_
|
||||
#define SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_
|
||||
|
||||
#include <dawn/native/OpenGLBackend.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_
|
||||
#define SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_
|
||||
|
||||
#include <dawn/native/VulkanBackend.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_
|
||||
#define SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_
|
||||
|
||||
#include <dawn/native/dawn_native_export.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_
|
||||
#define SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_
|
||||
|
||||
#include <dawn/platform/DawnPlatform.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_WIRE_WIRE_H_
|
||||
#define SRC_INCLUDE_DAWN_WIRE_WIRE_H_
|
||||
|
||||
#include <dawn/wire/Wire.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_WIRE_WIRE_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_
|
||||
#define SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_
|
||||
|
||||
#include <dawn/wire/WireClient.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_
|
||||
#define SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_
|
||||
|
||||
#include <dawn/wire/WireServer.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_
|
||||
#define SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_
|
||||
|
||||
#include <dawn/wire/dawn_wire_export.h>
|
||||
|
||||
#endif // SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_WEBGPU_WEBGPU_H_
|
||||
#define SRC_INCLUDE_WEBGPU_WEBGPU_H_
|
||||
|
||||
#include "dawn/webgpu.h"
|
||||
|
||||
#endif // SRC_INCLUDE_WEBGPU_WEBGPU_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_
|
||||
#define SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_
|
||||
|
||||
#include <dawn/webgpu_cpp.h>
|
||||
|
||||
#endif // SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_
|
||||
|
||||
Reference in New Issue
Block a user