snix/third_party/nix/src/libutil
Vincent Ambo 98299da0fd refactor(3p/nix/libutil): Replace string2Int & trim functions
Replaces these functions with corresponding functions from Abseil,
namely absl::StripAsciiWhitespace and absl::SimpleAtoi.

In the course of doing this some minor things I encountered along the
way were also refactored.

This also changes the signatures of the various custom readFile
functions to use absl::string_view types.
2020-05-25 01:19:02 +01:00
..
affinity.cc style(3p/nix): Enforce braces around loops and conditionals 2020-05-19 17:38:04 +01:00
affinity.hh style(3p/nix): Reformat project in Google C++ style 2020-05-17 16:31:57 +01:00
archive.cc style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
archive.hh style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
args.cc style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
args.hh refactor(3p/nix/libutil): Replace string2Int & trim functions 2020-05-25 01:19:02 +01:00
compression.cc refactor(3p/nix): Apply clang-tidy's readability-* fixes 2020-05-20 22:27:37 +01:00
compression.hh style(3p/nix): Reformat all includes to match new style 2020-05-19 15:55:11 +01:00
config.cc refactor(3p/nix/libutil): Replace string2Int & trim functions 2020-05-25 01:19:02 +01:00
config.hh refactor(3p/nix): Apply clang-tidy's modernize-* fixes 2020-05-20 04:33:07 +01:00
finally.hh style(3p/nix): Reformat project in Google C++ style 2020-05-17 16:31:57 +01:00
hash.cc style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
hash.hh style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
istringstream_nocopy.hh style(3p/nix): Reformat project in Google C++ style 2020-05-17 16:31:57 +01:00
json.cc refactor(3p/nix): Apply clang-tidy's readability-* fixes 2020-05-20 22:27:37 +01:00
json.hh style(3p/nix): Reformat project in Google C++ style 2020-05-17 16:31:57 +01:00
lazy.hh style(3p/nix): Add braces around single-line conditionals 2020-05-19 18:55:58 +01:00
lru-cache.hh style(3p/nix): Add braces around single-line conditionals 2020-05-19 18:55:58 +01:00
meson.build refactor(3p/nix/libutil): Replace string2Int & trim functions 2020-05-25 01:19:02 +01:00
monitor-fd.hh style(3p/nix): Add braces around single-line conditionals 2020-05-19 18:55:58 +01:00
pool.hh style(3p/nix): Add braces around single-line conditionals 2020-05-19 18:55:58 +01:00
prefork-compat.hh refactor(3p/nix/libstore): Replace logging.h with glog 2020-05-19 01:04:14 +01:00
ref.hh style(3p/nix): Add braces around single-line conditionals 2020-05-19 18:55:58 +01:00
serialise.cc style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
serialise.hh style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
sync.hh style(3p/nix): Reformat project in Google C++ style 2020-05-17 16:31:57 +01:00
thread-pool.cc refactor(3p/nix): Apply clang-tidy's readability-* fixes 2020-05-20 22:27:37 +01:00
thread-pool.hh style(3p/nix): Add braces around single-line for-loops 2020-05-19 19:04:08 +01:00
types.hh style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
util.cc refactor(3p/nix/libutil): Replace string2Int & trim functions 2020-05-25 01:19:02 +01:00
util.hh refactor(3p/nix/libutil): Replace string2Int & trim functions 2020-05-25 01:19:02 +01:00
xml-writer.cc style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
xml-writer.hh style(3p/nix): Remove 'using std::*' from xml-writer.hh 2020-05-24 23:19:09 +01:00