mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 17:35:30 +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
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef DAWNPLATFORM_DAWNPLATFORM_H_
|
||||
#define DAWNPLATFORM_DAWNPLATFORM_H_
|
||||
#ifndef INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_
|
||||
#define INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_
|
||||
|
||||
#include "dawn/platform/dawn_platform_export.h"
|
||||
|
||||
@@ -116,4 +116,4 @@ namespace dawn::platform {
|
||||
// TODO(dawn:824): Remove once the deprecation period is passed.
|
||||
namespace dawn_platform = dawn::platform;
|
||||
|
||||
#endif // DAWNPLATFORM_DAWNPLATFORM_H_
|
||||
#endif // INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_
|
||||
|
||||
Reference in New Issue
Block a user