Displaying 2 results from an estimated 2 matches for "vectordatasize".
2013 Jul 01
4
[LLVMdev] [bikeshed] Anyone have strong feelings about always putting `template <...>` on its own line?
...t in significant formatting differences (see the last
example).
Examples of the current behavior:
--------------
template <class ELFT>
class ELFState {
clang-format's to:
template <class ELFT> class ELFState {
--------------
--------------
template <class T>
static size_t vectorDataSize(const std::vector<T> &Vec) {
clang-format's to:
template <class T> static size_t vectorDataSize(const std::vector<T> &Vec) {
--------------
Pathological example:
--------------
template <class T, size_t N, int X>
template <class U>
Foo<T, N, X>::ba...
2013 Jul 01
0
[LLVMdev] [bikeshed] Anyone have strong feelings about always putting `template <...>` on its own line?
...gt; Examples of the current behavior:
>
> --------------
> template <class ELFT>
> class ELFState {
>
> clang-format's to:
>
> template <class ELFT> class ELFState {
> --------------
>
> --------------
> template <class T>
> static size_t vectorDataSize(const std::vector<T> &Vec) {
>
> clang-format's to:
>
> template <class T> static size_t vectorDataSize(const std::vector<T> &Vec) {
> --------------
>
> Pathological example:
> --------------
> template <class T, size_t N, int X>
>...