Kaydet (Commit) 959ecc99 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No more issues with these source files

...after a31267be "Fix isSalCallFunction so it
also works on Windows"

Change-Id: Ic770230f2dd6183f5937801f27e929ebfd39bb4a
Reviewed-on: https://gerrit.libreoffice.org/46111Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 907423a6
......@@ -12,7 +12,6 @@
#include <algorithm>
#include <set>
#include <string>
#include <utility>
#include <vector>
......@@ -60,16 +59,6 @@ public:
virtual void run() override
{
std::string fn(compiler.getSourceManager()
.getFileEntryForID(compiler.getSourceManager().getMainFileID())
->getName());
loplugin::normalizeDotDotInFilePath(fn);
// ignore this one. I can't get accurate source code from getCharacterData() for it.
if (fn == SRCDIR "/sal/rtl/string.cxx")
return;
// clang returns completely bogus source range for something in this file
if (fn == SRCDIR "/sd/source/ui/unoidl/unomodel.cxx")
return;
m_phase = PluginPhase::FindAddressOf;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
m_phase = PluginPhase::Warning;
......
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