aboutsummaryrefslogtreecommitdiffstats
path: root/src/checkbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/checkbase.cpp')
-rw-r--r--src/checkbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkbase.cpp b/src/checkbase.cpp
index cc64cd50..955411ce 100644
--- a/src/checkbase.cpp
+++ b/src/checkbase.cpp
@@ -152,7 +152,7 @@ void CheckBase::emitWarning(clang::SourceLocation loc, std::string error,
if (m_context->suppressionManager.isSuppressed(m_name, loc, sm(), lo()))
return;
- if (m_context->isHeaderFilteredOut(loc))
+ if (m_context->shouldIgnoreFile(loc))
return;
if (loc.isMacroID()) {