From 937d0be76219cb2d382f360c32bc970c859da065 Mon Sep 17 00:00:00 2001 From: Emanuele Torre Date: Thu, 28 May 2020 20:40:53 +0200 Subject: Meta: Add a script check the presence of "#pragma once" in header files .. and make travis run it. I renamed check-license-headers.sh to check-style.sh and expanded it so that it now also checks for the presence of "#pragma once" in .h files. It also checks the presence of a (single) blank line above and below the "#pragma once" line. I also added "#pragma once" to all the files that need it: even the ones we are not check. I also added/removed blank lines in order to make the script not fail. I also ran clang-format on the files I modified. --- DevTools/HackStudio/Debugger/BreakpointCallback.h | 1 + 1 file changed, 1 insertion(+) (limited to 'DevTools/HackStudio/Debugger/BreakpointCallback.h') diff --git a/DevTools/HackStudio/Debugger/BreakpointCallback.h b/DevTools/HackStudio/Debugger/BreakpointCallback.h index 80d1f9495d..d6cbce7afd 100644 --- a/DevTools/HackStudio/Debugger/BreakpointCallback.h +++ b/DevTools/HackStudio/Debugger/BreakpointCallback.h @@ -25,6 +25,7 @@ */ #pragma once + #include #include #include -- cgit v1.2.3