mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-11 10:16:01 +01:00
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);
|