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:
Rian Quinn 2017-03-09 09:13:37 -07:00 committed by GitHub
parent 3819df6e37
commit 4f7d32cce0

View File

@ -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...