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 "command.hh"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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