fix copyright checker

properly handle files starting with #include or #pragma

Change-Id: I89b438ef36d796c2e005bb2241a97bf5e4d9e48c
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2018-09-20 14:27:16 +02:00
committed by sys_ocldev
parent 7de297763f
commit 23b6896f5f
5 changed files with 43 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
#pragma once
// header file with # in first line

View File

@@ -0,0 +1,3 @@
#include <cstdint>
// header file with # in first line

View File

@@ -0,0 +1,10 @@
/*
* Copyright (C) 2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
// header file with # in first line

View File

@@ -0,0 +1,10 @@
/*
* Copyright (C) 2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include <cstdint>
// header file with # in first line