Kaydet (Commit) 986c4950 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Missing isInLokIncludeFile check

Change-Id: I6577987f3f3717337e6607ffbe38397f229978f0
üst 1cd6e2e0
...@@ -112,6 +112,8 @@ bool Nullptr::VisitImplicitCastExpr(CastExpr const * expr) { ...@@ -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)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment