aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-04-08 15:07:57 -0700
committerJade Lovelace <lix@jade.fyi>2024-04-08 15:40:12 -0700
commitc58e3f826e891847bd454f4de8176e1fec74627a (patch)
tree70e2d881f2fc1cbc1ff17113e399b34dba6d03f9 /src
parent54bc1f1b9864ca2d784a03f239b7234c6956f929 (diff)
pragma once and ///@file everything missing it
Change-Id: Ia1a72348336794b5fb9f2694dd750266089b904e
Diffstat (limited to 'src')
-rw-r--r--src/libcmd/built-path.hh2
-rw-r--r--src/libexpr/eval-error.hh1
-rw-r--r--src/libexpr/eval-settings.hh1
-rw-r--r--src/libexpr/gc-small-vector.hh1
-rw-r--r--src/libexpr/pos-idx.hh1
-rw-r--r--src/libexpr/pos-table.hh1
-rw-r--r--src/libexpr/print-ambiguous.hh1
-rw-r--r--src/libexpr/repl-exit-status.hh1
-rw-r--r--src/libfetchers/fetch-to-store.hh1
-rw-r--r--src/libstore/derived-path-map.hh1
-rw-r--r--src/libstore/path-references.hh1
-rw-r--r--src/libstore/remote-store-connection.hh3
-rw-r--r--src/libutil/args/root.hh1
-rw-r--r--src/libutil/english.hh1
-rw-r--r--src/libutil/escape-char.hh2
-rw-r--r--src/libutil/escape-string.hh1
-rw-r--r--src/libutil/exit.hh1
-rw-r--r--src/libutil/print-elided.hh1
-rw-r--r--src/libutil/shlex.hh1
19 files changed, 23 insertions, 0 deletions
diff --git a/src/libcmd/built-path.hh b/src/libcmd/built-path.hh
index e677bc810..da87a33b0 100644
--- a/src/libcmd/built-path.hh
+++ b/src/libcmd/built-path.hh
@@ -1,3 +1,5 @@
+#pragma once
+///@file
#include "derived-path.hh"
#include "realisation.hh"
diff --git a/src/libexpr/eval-error.hh b/src/libexpr/eval-error.hh
index 2fb6bcf41..4f0e0d24c 100644
--- a/src/libexpr/eval-error.hh
+++ b/src/libexpr/eval-error.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include <algorithm>
diff --git a/src/libexpr/eval-settings.hh b/src/libexpr/eval-settings.hh
index c78213255..c264b521f 100644
--- a/src/libexpr/eval-settings.hh
+++ b/src/libexpr/eval-settings.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include "config.hh"
namespace nix {
diff --git a/src/libexpr/gc-small-vector.hh b/src/libexpr/gc-small-vector.hh
index 94c3ad28b..c4bd1db26 100644
--- a/src/libexpr/gc-small-vector.hh
+++ b/src/libexpr/gc-small-vector.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include <boost/container/small_vector.hpp>
diff --git a/src/libexpr/pos-idx.hh b/src/libexpr/pos-idx.hh
index e94fd85c6..406fc1b36 100644
--- a/src/libexpr/pos-idx.hh
+++ b/src/libexpr/pos-idx.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include <cinttypes>
diff --git a/src/libexpr/pos-table.hh b/src/libexpr/pos-table.hh
index 0b60c4f6d..704f24696 100644
--- a/src/libexpr/pos-table.hh
+++ b/src/libexpr/pos-table.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include <cinttypes>
#include <numeric>
diff --git a/src/libexpr/print-ambiguous.hh b/src/libexpr/print-ambiguous.hh
index 50c260a9b..b615d1e5a 100644
--- a/src/libexpr/print-ambiguous.hh
+++ b/src/libexpr/print-ambiguous.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include "value.hh"
diff --git a/src/libexpr/repl-exit-status.hh b/src/libexpr/repl-exit-status.hh
index 08299ff61..f150b9597 100644
--- a/src/libexpr/repl-exit-status.hh
+++ b/src/libexpr/repl-exit-status.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
namespace nix {
diff --git a/src/libfetchers/fetch-to-store.hh b/src/libfetchers/fetch-to-store.hh
index eef269071..717450944 100644
--- a/src/libfetchers/fetch-to-store.hh
+++ b/src/libfetchers/fetch-to-store.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include "source-path.hh"
#include "store-api.hh"
diff --git a/src/libstore/derived-path-map.hh b/src/libstore/derived-path-map.hh
index 4d72b301e..393cdedf7 100644
--- a/src/libstore/derived-path-map.hh
+++ b/src/libstore/derived-path-map.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include "types.hh"
#include "derived-path.hh"
diff --git a/src/libstore/path-references.hh b/src/libstore/path-references.hh
index 7b44e3261..0553003f8 100644
--- a/src/libstore/path-references.hh
+++ b/src/libstore/path-references.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include "references.hh"
#include "path.hh"
diff --git a/src/libstore/remote-store-connection.hh b/src/libstore/remote-store-connection.hh
index e4a9cacb9..44328b06b 100644
--- a/src/libstore/remote-store-connection.hh
+++ b/src/libstore/remote-store-connection.hh
@@ -1,3 +1,6 @@
+#pragma once
+///@file
+
#include "remote-store.hh"
#include "worker-protocol.hh"
#include "pool.hh"
diff --git a/src/libutil/args/root.hh b/src/libutil/args/root.hh
index bb98732a1..f8124eaff 100644
--- a/src/libutil/args/root.hh
+++ b/src/libutil/args/root.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include "args.hh"
diff --git a/src/libutil/english.hh b/src/libutil/english.hh
index 9c6c93571..d9289c663 100644
--- a/src/libutil/english.hh
+++ b/src/libutil/english.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include <iostream>
diff --git a/src/libutil/escape-char.hh b/src/libutil/escape-char.hh
index c7bae7ec0..e4b9da8ed 100644
--- a/src/libutil/escape-char.hh
+++ b/src/libutil/escape-char.hh
@@ -1,4 +1,6 @@
#pragma once
+///@file
+
#include <ostream>
namespace nix {
diff --git a/src/libutil/escape-string.hh b/src/libutil/escape-string.hh
index 7f0a9e701..2b06893dc 100644
--- a/src/libutil/escape-string.hh
+++ b/src/libutil/escape-string.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include <limits>
#include <ostream>
diff --git a/src/libutil/exit.hh b/src/libutil/exit.hh
index 55f33e62f..27abc6a89 100644
--- a/src/libutil/exit.hh
+++ b/src/libutil/exit.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include <exception>
diff --git a/src/libutil/print-elided.hh b/src/libutil/print-elided.hh
index a99b15ca1..21bbf741c 100644
--- a/src/libutil/print-elided.hh
+++ b/src/libutil/print-elided.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include <ostream>
diff --git a/src/libutil/shlex.hh b/src/libutil/shlex.hh
index 4e7a48597..6ebe272ad 100644
--- a/src/libutil/shlex.hh
+++ b/src/libutil/shlex.hh
@@ -1,4 +1,5 @@
#pragma once
+///@file
#include <regex>
#include <string>