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

References

tools/clang/unittests/Format/FormatTestJS.cpp
  963   Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline;
  967                Style);
  968   verifyFormat("var func = doSomething(function() { return 1; });", Style);
  972                Style);
  976                Style);
  978   Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All;
  979   verifyFormat("var func = function() { return 1; };", Style);
  980   verifyFormat("var func = doSomething(function() { return 1; });", Style);
  983       Style);
  987                Style);
  989   Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_None;
  993                Style);
  997                Style);
 1003                Style);
 1009                Style);
 1011   Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Empty;
 1015                Style);