aboutsummaryrefslogtreecommitdiff
path: root/backend/check
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-03 17:17:56 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-03 17:17:56 +0100
commitfbe0bd96d82f1fdc4721669b82773e7303c5f418 (patch)
tree7ab6fb77d8e8731e269057e90e7611b233c5df9c /backend/check
parent42c6d3c5024c088c458c88eac2002e7e48ce9c31 (diff)
remove garbageHEADmaster
Diffstat (limited to 'backend/check')
-rwxr-xr-xbackend/check17
1 files changed, 0 insertions, 17 deletions
diff --git a/backend/check b/backend/check
deleted file mode 100755
index f100e41..0000000
--- a/backend/check
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-for file in *.cpp *.hpp *.h ; do
- # non C-style headers
- grep -Hn '#include\s*<[^.]\+>' "$file" | grep -v '<random>'
- # forbidden STL containers
- grep -Hn '\<unique_ptr\>' "$file"
- grep -Hn '\<make_unique\>' "$file"
- grep -Hn '\<shared_ptr\>' "$file"
- grep -Hn '\<make_shared\>' "$file"
- grep -Hn '\<vector\>' "$file"
- grep -Hn '\<string\>[^.]' "$file" # [^.] is to ignore C's <string.h>
- grep -Hn '\<pair\>' "$file"
- grep -Hn '\<map\>' "$file"
- grep -Hn '\<unordered_map\>' "$file"
-done
-exit 0
-