add trailing newlines

master
Daniel Kolesa 2016-02-07 21:17:15 +00:00
parent dfc867bd48
commit b66c684add
45 changed files with 45 additions and 45 deletions

View File

@ -33,4 +33,4 @@ Additionally some code from the libc++ project has been used as a reference;
libc++ is a part of the LLVM project.
Additional thanks to Dale Weiler aka graphitemaster (reference code in the
Neothyne project) and cppreference.com.
Neothyne project) and cppreference.com.

View File

@ -39,4 +39,4 @@ systems that implement POSIX API will also work (if they don't, bug reports
are welcome).
Windows is supported at least with the MinGW (gcc) and Clang compilers. MS
Visual Studio is currently unsupported.
Visual Studio is currently unsupported.

View File

@ -83,4 +83,4 @@ int main() {
auto s = appender<String>();
format(s, "hello %s", "world");
writeln(s.get());
}
}

View File

@ -19,4 +19,4 @@ int main(int argc, char **argv) {
if (argc < 1) return 1;
list_dirs(argv[1]);
return 0;
}
}

View File

@ -24,4 +24,4 @@ int main() {
/* generate string ABCDEF */
String s(map(range(6), [](int v) -> char { return v + 65; }));
writeln(s);
}
}

View File

@ -85,4 +85,4 @@ int main() {
writeln("=== program end ===");
return 0;
}
}

View File

@ -19,4 +19,4 @@ int main() {
print_result(x);
return 0;
}
}

View File

@ -34,4 +34,4 @@ int main() {
writefln("-- str beg --\n%s\n-- str end --", ts2);
return 0;
}
}

View File

@ -629,4 +629,4 @@ FilterRange<R, detail::FilterPred<R, P>> filter(R range, P pred) {
} /* namespace ostd */
#endif
#endif

View File

@ -131,4 +131,4 @@ inline bool operator>=(const Array<T, N> &x, const Array<T, N> &y) {
} /* namespace ostd */
#endif
#endif

View File

@ -955,4 +955,4 @@ using AtomicUintFast64 = Atomic<UintFast64>;
}
#endif
#endif

View File

@ -8,4 +8,4 @@
#include "ostd/internal/mutex.hh"
#endif
#endif

View File

@ -191,4 +191,4 @@ public:
} /* namespace ostd */
#endif
#endif

View File

@ -550,4 +550,4 @@ inline bool directory_change(ConstCharRange path) {
} /* namespace ostd */
#endif
#endif

View File

@ -897,4 +897,4 @@ Ptrdiff format(R &&writer, ConstCharRange fmt, const A &...args) {
} /* namespace ostd */
#endif
#endif

View File

@ -944,4 +944,4 @@ template<typename F> using FunctionMakeDefaultConstructible
} /* namespace ostd */
#endif
#endif

View File

@ -50,4 +50,4 @@ PointerRange<const T> citer(std::initializer_list<T> init) {
}
#endif
#endif

View File

@ -651,4 +651,4 @@ public:
} /* namespace ostd */
#endif
#endif

View File

@ -189,4 +189,4 @@ private:
} /* namespace ostd */
#endif
#endif

View File

@ -273,4 +273,4 @@ namespace detail {
} /* namespace ostd */
#endif
#endif

View File

@ -12,4 +12,4 @@
#include <windows.h>
#endif
#endif
#endif

View File

@ -194,4 +194,4 @@ inline void writefln(ConstCharRange fmt, const A &...args) {
} /* namespace ostd */
#endif
#endif

View File

@ -177,4 +177,4 @@ template<
} /* namespace ostd */
#endif
#endif

View File

@ -177,4 +177,4 @@ template<
} /* namespace ostd */
#endif
#endif

View File

@ -419,4 +419,4 @@ inline constexpr Maybe<Decay<T>> make_maybe(T &&v) {
} /* namespace ostd */
#endif
#endif

View File

@ -1072,4 +1072,4 @@ constexpr int UsesAllocatorConstructor
} /* namespace ostd */
#endif
#endif

View File

@ -8,4 +8,4 @@
#include "ostd/internal/mutex.hh"
#endif
#endif

View File

@ -17,4 +17,4 @@ inline void operator delete[](void *, void *) {}
#include <new>
#endif
#endif
#endif

View File

@ -143,4 +143,4 @@ inline uint64_t endian_swap64(uint64_t x) {
}
#endif
#endif

View File

@ -1277,4 +1277,4 @@ template<typename T> using RangeOf = decltype(iter(declval<T>()));
} /* namespace ostd */
#endif
#endif

View File

@ -148,4 +148,4 @@ template<
} /* namespace ostd */
#endif
#endif

View File

@ -233,4 +233,4 @@ inline StreamRange<T> Stream::iter() {
}
#endif
#endif

View File

@ -852,4 +852,4 @@ String to_string(std::initializer_list<T> init) {
} /* namespace ostd */
#endif
#endif

View File

@ -186,4 +186,4 @@ private:
} /* namespace ostd */
#endif
#endif

View File

@ -552,4 +552,4 @@ constexpr bool UsesAllocator<Tuple<T...>, A> = true;
} /* namespace ostd */
#endif
#endif

View File

@ -1158,4 +1158,4 @@ using UnderlyingType = typename detail::UnderlyingTypeBase<T>::Type;
} /* namespace ostd */
#endif
#endif

View File

@ -92,4 +92,4 @@ namespace detail {
}
#endif
#endif

View File

@ -383,4 +383,4 @@ namespace detail {
} /* namespace ostd */
#endif
#endif

View File

@ -389,4 +389,4 @@ using Vec4i = Vec4<int>;
} /* namespace ostd */
#endif
#endif

View File

@ -463,4 +463,4 @@ inline bool operator>=(const Vector<T, A> &x, const Vector<T, A> &y) {
} /* namespace ostd */
#endif
#endif

View File

@ -71,4 +71,4 @@ for fname in listdir(TESTDIR):
print "\n%(blue)s%(bold)stesting done:%(end)s" % colors
print "%(green)sSUCCESS: " % colors + str(nsuccess) + colors["end"]
print "%(red)sFAILURE: " % colors + str(nfailed) + colors["end"]
print "%(red)sFAILURE: " % colors + str(nfailed) + colors["end"]

View File

@ -25,4 +25,4 @@ void operator delete(void *p) noexcept {
void operator delete[](void *p) noexcept {
free(p);
}
}

View File

@ -41,4 +41,4 @@ int main() {
assert(to_string(z) == "{2, 4, 8, 16, 32}");
return 0;
}
}

View File

@ -87,4 +87,4 @@ int main() {
assert(to_string(st) == "{5, 10}");
return 0;
}
}

View File

@ -90,4 +90,4 @@ int main() {
assert(to_string(w) == "{5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 5, 3, 2, 1}");
return 0;
}
}