mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 05:27:49 +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 INCLUDE_WEBGPU_WEBGPU_H_
|
||||
#define INCLUDE_WEBGPU_WEBGPU_H_
|
||||
|
||||
#include "dawn/webgpu.h"
|
||||
|
||||
#endif // INCLUDE_WEBGPU_WEBGPU_H_
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#ifndef INCLUDE_WEBGPU_WEBGPU_CPP_H_
|
||||
#define INCLUDE_WEBGPU_WEBGPU_CPP_H_
|
||||
|
||||
#include <dawn/webgpu_cpp.h>
|
||||
|
||||
#endif // INCLUDE_WEBGPU_WEBGPU_CPP_H_
|
||||
|
||||
Reference in New Issue
Block a user