Ensure all headers have #pragma once and are in API docs

`///@file` makes them show up in the internal API dos. A tiny few were
missing `#pragma once`.
This commit is contained in:
John Ericson 2023-03-31 23:18:41 -04:00
parent abd5e7dec0
commit f4ab297b31
145 changed files with 163 additions and 0 deletions

View file

@ -1,3 +1,6 @@
#pragma once
///@file
#include "installable-value.hh" #include "installable-value.hh"
#include "command.hh" #include "command.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "installable-value.hh" #include "installable-value.hh"
#include "args.hh" #include "args.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "args.hh" #include "args.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"

View file

@ -1,3 +1,6 @@
#pragma once
///@file
#include "globals.hh" #include "globals.hh"
#include "installable-value.hh" #include "installable-value.hh"
#include "outputs-spec.hh" #include "outputs-spec.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "installables.hh" #include "installables.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "installable-value.hh" #include "installable-value.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "installables.hh" #include "installables.hh"
#include "flake/flake.hh" #include "flake/flake.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "util.hh" #include "util.hh"
#include "path.hh" #include "path.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <functional> #include <functional>
#include <map> #include <map>

View file

@ -1,3 +1,6 @@
#pragma once
///@file
#include "types.hh" #include "types.hh"
namespace nix { namespace nix {

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "eval.hh" #include "eval.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "eval.hh" #include "eval.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "nixexpr.hh" #include "nixexpr.hh"
#include "symbol-table.hh" #include "symbol-table.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "sync.hh" #include "sync.hh"
#include "hash.hh" #include "hash.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "eval.hh" #include "eval.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "attr-set.hh" #include "attr-set.hh"
#include "types.hh" #include "types.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "flakeref.hh" #include "flakeref.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "hash.hh" #include "hash.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "flakeref.hh" #include "flakeref.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "eval.hh" #include "eval.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "eval.hh" #include "eval.hh"
#include "path.hh" #include "path.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "eval.hh" #include "eval.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <map> #include <map>
#include <vector> #include <vector>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "eval.hh" #include "eval.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <list> #include <list>
#include <map> #include <map>

View file

@ -1,3 +1,6 @@
#pragma once
///@file
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <gmock/gmock.h> #include <gmock/gmock.h>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <rapidcheck/gen/Arbitrary.h> #include <rapidcheck/gen/Arbitrary.h>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "nixexpr.hh" #include "nixexpr.hh"
#include "eval.hh" #include "eval.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "nixexpr.hh" #include "nixexpr.hh"
#include "eval.hh" #include "eval.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <cassert> #include <cassert>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "util.hh" #include "util.hh"
#include "comparator.hh" #include "comparator.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "fetchers.hh" #include "fetchers.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "config.hh" #include "config.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "hash.hh" #include "hash.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "fetchers.hh" #include "fetchers.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "args.hh" #include "args.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "logging.hh" #include "logging.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "util.hh" #include "util.hh"
#include "args.hh" #include "args.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "crypto.hh" #include "crypto.hh"
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "realisation.hh" #include "realisation.hh"
#include "derived-path.hh" #include "derived-path.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "parsed-derivations.hh" #include "parsed-derivations.hh"
#include "lock.hh" #include "lock.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "store-api.hh" #include "store-api.hh"
#include "goal.hh" #include "goal.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "logging.hh" #include "logging.hh"
#include "serialise.hh" #include "serialise.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "derivation-goal.hh" #include "derivation-goal.hh"
#include "local-store.hh" #include "local-store.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <string> #include <string>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "lock.hh" #include "lock.hh"
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "lock.hh" #include "lock.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "derivations.hh" #include "derivations.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "derivations.hh" #include "derivations.hh"
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <variant> #include <variant>
#include "hash.hh" #include "hash.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "serialise.hh" #include "serialise.hh"
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "path.hh" #include "path.hh"
#include "types.hh" #include "types.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "util.hh" #include "util.hh"
#include "path.hh" #include "path.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "hash.hh" #include "hash.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "config.hh" #include "config.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "store-api.hh" #include "store-api.hh"
#include "gc-store.hh" #include "gc-store.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "sqlite.hh" #include "sqlite.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <memory> #include <memory>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <functional> #include <functional>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "ref.hh" #include "ref.hh"
#include "nar-info.hh" #include "nar-info.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "hash.hh" #include "hash.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <cassert> #include <cassert>
#include <optional> #include <optional>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "derivations.hh" #include "derivations.hh"
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "crypto.hh" #include "crypto.hh"
#include "path.hh" #include "path.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
namespace nix { namespace nix {

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "path.hh" #include "path.hh"
#include "derived-path.hh" #include "derived-path.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <string_view> #include <string_view>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "util.hh" #include "util.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "types.hh" #include "types.hh"
#include "pathlocks.hh" #include "pathlocks.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <variant> #include <variant>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "hash.hh" #include "hash.hh"
#include "path.hh" #include "path.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "fs-accessor.hh" #include "fs-accessor.hh"
#include "ref.hh" #include "ref.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <limits> #include <limits>
#include <string> #include <string>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
namespace nix { namespace nix {

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "binary-cache-store.hh" #include "binary-cache-store.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#if ENABLE_S3 #if ENABLE_S3

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
namespace nix { namespace nix {

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <functional> #include <functional>
#include <string> #include <string>

View file

@ -1,3 +1,6 @@
#pragma once
///@file
#include "store-api.hh" #include "store-api.hh"
namespace nix { namespace nix {

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "util.hh" #include "util.hh"
#include "sync.hh" #include "sync.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "nar-info.hh" #include "nar-info.hh"
#include "realisation.hh" #include "realisation.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "store-api.hh" #include "store-api.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <rapidcheck/gen/Arbitrary.h> #include <rapidcheck/gen/Arbitrary.h>

View file

@ -1,3 +1,6 @@
#pragma once
///@file
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <gmock/gmock.h> #include <gmock/gmock.h>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <rapidcheck/gen/Arbitrary.h> #include <rapidcheck/gen/Arbitrary.h>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <rapidcheck/gen/Arbitrary.h> #include <rapidcheck/gen/Arbitrary.h>

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "remote-store.hh" #include "remote-store.hh"
#include "local-fs-store.hh" #include "local-fs-store.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include "store-api.hh" #include "store-api.hh"
#include "serialise.hh" #include "serialise.hh"

View file

@ -1,4 +1,5 @@
#pragma once #pragma once
///@file
#include <nlohmann/json.hpp> #include <nlohmann/json.hpp>
#include "config.hh" #include "config.hh"

Some files were not shown because too many files have changed in this diff Show more