reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/Format/FormatTest.cpp
10336   Space.SpaceBeforeParens = FormatStyle::SBPO_Always;
10338   verifyFormat("int f ();", Space);
10343                Space);
10348                Space);
10352                Space);
10357                Space);
10358   verifyFormat("A::A () : a (1) {}", Space);
10359   verifyFormat("void f () __attribute__ ((asdf));", Space);
10364                Space);
10365   verifyFormat("#define A(x) x", Space);
10366   verifyFormat("#define A (x) x", Space);
10369                Space);
10370   verifyFormat("auto i = std::make_unique<int> (5);", Space);
10371   verifyFormat("size_t x = sizeof (x);", Space);
10372   verifyFormat("auto f (int x) -> decltype (x);", Space);
10373   verifyFormat("int f (T x) noexcept (x.create ());", Space);
10374   verifyFormat("alignas (128) char a[128];", Space);
10375   verifyFormat("size_t x = alignof (MyType);", Space);
10376   verifyFormat("static_assert (sizeof (char) == 1, \"Impossible!\");", Space);
10377   verifyFormat("int f () throw (Deprecated);", Space);
10378   verifyFormat("typedef void (*cb) (int);", Space);
10379   verifyFormat("T A::operator() ();", Space);
10380   verifyFormat("X A::operator++ (T);", Space);
10381   verifyFormat("auto lambda = [] () { return 0; };", Space);
10382   verifyFormat("int x = int (y);", Space);