tools/solar.h already filtered out via filename.endsWith(".h")
Change-Id: I8a4483a6425f51fea0eae5c809c6c41ef56388a2
This commit is contained in:
@@ -97,8 +97,7 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) {
|
||||
return true;
|
||||
}
|
||||
if (!compat::isInMainFile(compiler.getSourceManager(), spellingLocation)
|
||||
&& (filename == SRCDIR "/include/tools/solar.h"
|
||||
|| filename.startswith(SRCDIR "/include/cppuhelper/")))
|
||||
&& filename.startswith(SRCDIR "/include/cppuhelper/"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user