mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
register GSL as a system header
GSL currently causes Clang Tidy to go nuts for several reasons: 1) there are several checks that fail because of UnitTest++ 2) there are several checks that fail simply because we need to clean up some issues 3) the Core Guideline checks clearly fail since we are implementing the GSL Adding this macro prevents Clang Tidy and other tools (like coverage tools) from registering the GSL as code the belongs to the project.
This commit is contained in:
parent
3819df6e37
commit
4f7d32cce0
@ -19,6 +19,8 @@
|
||||
#ifndef GSL_GSL_H
|
||||
#define GSL_GSL_H
|
||||
|
||||
#pragma GCC system_header
|
||||
|
||||
#include <gsl/gsl_assert> // Ensures/Expects
|
||||
#include <gsl/gsl_util> // finally()/narrow()/narrow_cast()...
|
||||
#include <gsl/multi_span> // multi_span, strided_span...
|
||||
|
Loading…
Reference in New Issue
Block a user