tvl-depot/third_party/nix/src/libutil
Griffin Smith 381ce8a666 refactor(tvix): Make static strings constexpr string_views
Make all static std::strings constexpr std::string_views, and replace
concatenation with absl::StrCat where necessary.

Technically all of these are constant, so they really don't need to be
top-level statics - and since I'm trying to get rid of as much global
state as possible in preparation for making the nix daemon properly
multithreaded I figured I'd knock these out while I was at it.

Change-Id: Ibd3ad9ef68f0a0eacb135541b39fdb13dae042e1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1939
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
2020-09-14 21:38:30 +00:00
..
affinity.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
affinity.hh style(3p/nix): Reformat project in Google C++ style 2020-05-17 16:31:57 +01:00
archive.cc refactor(tvix): Make static strings constexpr string_views 2020-09-14 21:38:30 +00:00
archive.hh refactor(tvix): Make static strings constexpr string_views 2020-09-14 21:38:30 +00:00
args.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
args.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
CMakeLists.txt refactor(tvix): Make Store::buildPaths return a Status 2020-08-14 03:06:46 +00:00
compression.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
compression.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
config.cc fix(3p/nix): Use SkipEmpty in all calls to absl::StrSplit 2020-08-06 20:50:47 +00:00
config.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
finally.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
hash.cc refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
hash.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
istringstream_nocopy.hh style(tvix): Replace remaining typedefs with using statements 2020-08-21 03:55:56 +00:00
json.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
json.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
lazy.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
lru-cache.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
monitor-fd.hh style(3p/nix): Add braces around single-line conditionals 2020-05-19 18:55:58 +01:00
pool.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
proto.hh refactor(tvix): Make Store::buildPaths return a Status 2020-08-14 03:06:46 +00:00
ref.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
serialise.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
serialise.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
status.hh refactor(tvix): Make Store::buildPaths return a Status 2020-08-14 03:06:46 +00:00
sync.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
thread-pool.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
thread-pool.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
types.hh refactor(tvix/libutil): Mark single-argument constructors explicit 2020-08-23 11:58:44 +00:00
util.cc refactor(tvix): getEnv(): Return std::optional 2020-09-01 02:21:53 +00:00
util.hh refactor(tvix): getEnv(): Return std::optional 2020-09-01 02:21:53 +00:00
visitor.hh feat(3p/nix/libutil): Add util::overloaded class for std::visitor 2020-07-13 20:14:49 +00:00
xml-writer.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
xml-writer.hh style(3p/nix): Remove 'using std::*' from xml-writer.hh 2020-05-24 23:19:09 +01:00