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

References

tools/clang/unittests/Format/FormatTest.cpp
14033   Spaces.SpacesInAngles = true;
14035   verifyFormat("static_cast< int >(arg);", Spaces);
14036   verifyFormat("template < typename T0, typename T1 > void f() {}", Spaces);
14037   verifyFormat("f< int, float >();", Spaces);
14038   verifyFormat("template <> g() {}", Spaces);
14039   verifyFormat("template < std::vector< int > > f() {}", Spaces);
14040   verifyFormat("std::function< void(int, int) > fct;", Spaces);
14042                Spaces);
14044   Spaces.Standard = FormatStyle::LS_Cpp03;
14045   Spaces.SpacesInAngles = true;
14046   verifyFormat("A< A< int > >();", Spaces);
14048   Spaces.SpacesInAngles = false;
14049   verifyFormat("A<A<int> >();", Spaces);
14051   Spaces.Standard = FormatStyle::LS_Cpp11;
14052   Spaces.SpacesInAngles = true;
14053   verifyFormat("A< A< int > >();", Spaces);
14055   Spaces.SpacesInAngles = false;
14056   verifyFormat("A<A<int>>();", Spaces);