Move helper class into an anonymous namespace.

llvm-svn: 229404
This commit is contained in:
Benjamin Kramer 2015-02-16 16:53:12 +00:00
parent a03280de75
commit 3a002255e3
1 changed files with 2 additions and 1 deletions

View File

@ -117,6 +117,7 @@ static void CheckUnreachable(Sema &S, AnalysisDeclContext &AC) {
reachable_code::FindUnreachableCode(AC, S.getPreprocessor(), UC);
}
namespace {
/// \brief Warn on logical operator errors in CFGBuilder
class LogicalErrorHandler : public CFGCallback {
Sema &S;
@ -156,7 +157,7 @@ public:
<< DiagRange << isAlwaysTrue;
}
};
} // namespace
//===----------------------------------------------------------------------===//
// Check for infinite self-recursion in functions