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:
dan sinclair
2022-04-11 18:30:50 +00:00
committed by Dawn LUCI CQ
parent 05caf3a20f
commit 479dc6b7eb
384 changed files with 1196 additions and 1054 deletions

View File

@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef DAWNNATIVE_OPENGL_COMMANDBUFFERGL_H_
#define DAWNNATIVE_OPENGL_COMMANDBUFFERGL_H_
#ifndef SRC_DAWN_NATIVE_OPENGL_COMMANDBUFFERGL_H_
#define SRC_DAWN_NATIVE_OPENGL_COMMANDBUFFERGL_H_
#include "dawn/native/CommandBuffer.h"
@@ -46,4 +46,4 @@ namespace dawn::native::opengl {
const Extent3D& copySize);
} // namespace dawn::native::opengl
#endif // DAWNNATIVE_OPENGL_COMMANDBUFFERGL_H_
#endif // SRC_DAWN_NATIVE_OPENGL_COMMANDBUFFERGL_H_