Kaydet (Commit) d5ea81b8 authored tarafından Luboš Luňák's avatar Luboš Luňák

handle case of SRCDIR == BUILDDIR

Change-Id: I9daea65dc28ab13776a7c4319e5d5811515fe160
üst 258aca99
......@@ -253,7 +253,7 @@ class PluginHandler
else if( strncmp( e->getName(), WORKDIR, strlen( WORKDIR )) == 0 )
diag.Report( diag.getCustomDiagID( DiagnosticsEngine::Warning,
"modified source in workdir/ : %0 [loplugin]" )) << e->getName();
else if( strncmp( e->getName(), BUILDDIR, strlen( BUILDDIR )) == 0 )
else if( strcmp( SRCDIR, BUILDDIR ) != 0 && strncmp( e->getName(), BUILDDIR, strlen( BUILDDIR )) == 0 )
diag.Report( diag.getCustomDiagID( DiagnosticsEngine::Warning,
"modified source in build dir : %0 [loplugin]" )) << e->getName();
else if( strncmp( e->getName(), SRCDIR, strlen( SRCDIR )) == 0 )
......
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