aboutsummaryrefslogtreecommitdiff
path: root/clang-tidy/readability/BracesAroundStatementsCheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tidy/readability/BracesAroundStatementsCheck.cpp')
-rw-r--r--clang-tidy/readability/BracesAroundStatementsCheck.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang-tidy/readability/BracesAroundStatementsCheck.cpp b/clang-tidy/readability/BracesAroundStatementsCheck.cpp
index 5186c0b1..4dea41df 100644
--- a/clang-tidy/readability/BracesAroundStatementsCheck.cpp
+++ b/clang-tidy/readability/BracesAroundStatementsCheck.cpp
@@ -117,8 +117,8 @@ BracesAroundStatementsCheck::BracesAroundStatementsCheck(
// Always add braces by default.
ShortStatementLines(Options.get("ShortStatementLines", 0U)) {}
-void
-BracesAroundStatementsCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
+void BracesAroundStatementsCheck::storeOptions(
+ ClangTidyOptions::OptionMap &Opts) {
Options.store(Opts, "ShortStatementLines", ShortStatementLines);
}
@@ -130,8 +130,8 @@ void BracesAroundStatementsCheck::registerMatchers(MatchFinder *Finder) {
Finder->addMatcher(cxxForRangeStmt().bind("for-range"), this);
}
-void
-BracesAroundStatementsCheck::check(const MatchFinder::MatchResult &Result) {
+void BracesAroundStatementsCheck::check(
+ const MatchFinder::MatchResult &Result) {
const SourceManager &SM = *Result.SourceManager;
const ASTContext *Context = Result.Context;