diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/IncorrectRoundings.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/misc/IncorrectRoundings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/IncorrectRoundings.cpp b/clang-tools-extra/clang-tidy/misc/IncorrectRoundings.cpp index 993af51d53e..000191161fd 100644 --- a/clang-tools-extra/clang-tidy/misc/IncorrectRoundings.cpp +++ b/clang-tools-extra/clang-tidy/misc/IncorrectRoundings.cpp @@ -36,6 +36,7 @@ using namespace clang::ast_matchers; namespace clang { namespace tidy { +namespace misc { void IncorrectRoundings::registerMatchers(MatchFinder *MatchFinder) { // Match a floating literal with value 0.5. auto FloatHalf = floatLiteral(floatHalf()); @@ -70,5 +71,6 @@ void IncorrectRoundings::check(const MatchFinder::MatchResult &Result) { "consider using lround (#include <cmath>) instead"); } +} // namespace misc } // namespace tidy } // namespace clang |