Missing isInLokIncludeFile check

Change-Id: I6577987f3f3717337e6607ffbe38397f229978f0
This commit is contained in:
Stephan Bergmann
2015-11-10 11:26:03 +01:00
parent 1cd6e2e08e
commit 986c495052

View File

@@ -112,6 +112,8 @@ bool Nullptr::VisitImplicitCastExpr(CastExpr const * expr) {
.getImmediateExpansionRange(loc).first;
if (isInUnoIncludeFile(
compiler.getSourceManager().getSpellingLoc(loc))
|| isInLokIncludeFile(
compiler.getSourceManager().getSpellingLoc(loc))
|| isFromCIncludeFile(
compiler.getSourceManager().getSpellingLoc(
loc)))