Missing isInLokIncludeFile check
Change-Id: I6577987f3f3717337e6607ffbe38397f229978f0
This commit is contained in:
@@ -112,6 +112,8 @@ bool Nullptr::VisitImplicitCastExpr(CastExpr const * expr) {
|
|||||||
.getImmediateExpansionRange(loc).first;
|
.getImmediateExpansionRange(loc).first;
|
||||||
if (isInUnoIncludeFile(
|
if (isInUnoIncludeFile(
|
||||||
compiler.getSourceManager().getSpellingLoc(loc))
|
compiler.getSourceManager().getSpellingLoc(loc))
|
||||||
|
|| isInLokIncludeFile(
|
||||||
|
compiler.getSourceManager().getSpellingLoc(loc))
|
||||||
|| isFromCIncludeFile(
|
|| isFromCIncludeFile(
|
||||||
compiler.getSourceManager().getSpellingLoc(
|
compiler.getSourceManager().getSpellingLoc(
|
||||||
loc)))
|
loc)))
|
||||||
|
Reference in New Issue
Block a user