mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 16:46:09 +00:00
4af8dbf896
Specifically, with clang-format --style='{ IndentWidth: 4, BreakBeforeBraces: Mozilla, ColumnLimit: 120, PointerAlignment: Middle }' which was the clang-format invocation that produced the fewest diffs on the nix source out of ~20 that I tried.
10 lines
241 B
C++
10 lines
241 B
C++
#pragma once
|
|
|
|
#include <iostream>
|
|
#include <nix/types.hh>
|
|
#include <string>
|
|
|
|
nix::Strings parseAttrPath(const std::string & s);
|
|
bool isVarName(const std::string & s);
|
|
std::ostream & printStringValue(std::ostream & str, const char * string);
|