Reformat repo to clang-format 7.0 rules

This commit is contained in:
Techjar
2019-05-05 23:48:12 +00:00
parent d347867f2e
commit ff972e3673
208 changed files with 311 additions and 309 deletions

View File

@ -135,4 +135,4 @@ optparse::Values& ParseArguments(optparse::OptionParser* parser,
AddConfigLayer(options);
return options;
}
}
} // namespace CommandLineParse

View File

@ -10,7 +10,7 @@ namespace optparse
{
class OptionParser;
class Values;
}
} // namespace optparse
namespace CommandLineParse
{
@ -24,4 +24,4 @@ std::unique_ptr<optparse::OptionParser> CreateParser(ParserOptions options);
optparse::Values& ParseArguments(optparse::OptionParser* parser, int argc, char** argv);
optparse::Values& ParseArguments(optparse::OptionParser* parser,
const std::vector<std::string>& arguments);
}
} // namespace CommandLineParse

View File

@ -273,4 +273,4 @@ void GameFileCache::DoState(PointerWrap* p, u64 size)
});
}
} // namespace DiscIO
} // namespace UICommon

View File

@ -372,8 +372,8 @@ void EnableScreenSaver(Window win, bool enable)
void EnableScreenSaver(bool enable)
#endif
{
// Inhibit the screensaver. Depending on the operating system this may also
// disable low-power states and/or screen dimming.
// Inhibit the screensaver. Depending on the operating system this may also
// disable low-power states and/or screen dimming.
#if defined(HAVE_X11) && HAVE_X11
if (Config::Get(Config::MAIN_DISABLE_SCREENSAVER))

View File

@ -74,4 +74,4 @@ std::vector<std::string> GetAvailableAntialiasingModes(int& msaa_modes)
return modes;
}
}
} // namespace VideoUtils

View File

@ -19,4 +19,4 @@ std::vector<std::string> GetAvailableResolutions(X11Utils::XRRConfiguration* xrr
#endif
std::vector<std::string> GetAvailableAntialiasingModes(int& m_msaa_modes);
}
} // namespace VideoUtils

View File

@ -275,4 +275,4 @@ void XRRConfiguration::AddResolutions(std::vector<std::string>& resos)
}
#endif
}
} // namespace X11Utils

View File

@ -51,4 +51,4 @@ private:
bool bIsFullscreen;
};
#endif
}
} // namespace X11Utils