[clazy] [Bug 399955] New: Build is broken with trunk LLVM/Clang

Eugene Zelenko bugzilla_noreply at kde.org
Thu Oct 18 03:24:50 BST 2018


https://bugs.kde.org/show_bug.cgi?id=399955

            Bug ID: 399955
           Summary: Build is broken with trunk LLVM/Clang
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: eugene.zelenko at gmail.com
                CC: smartins at kde.org
  Target Milestone: ---

Build is broken with trunk LLVM/Clang. I think will be good idea to run Include
What You Use over Clazy code.

In file included from src/checks/detachingbase.cpp:28:
In file included from src/QtUtils.h:28:
src/MacroUtils.h:66:9: error: unknown type name 'StringRef'
        StringRef macro = clang::Lexer::getImmediateMacroName(loc,
context->getSourceManager(), context->getLangOpts());
        ^
In file included from src/checks/detachingbase.cpp:28:
In file included from src/QtUtils.h:29:
src/FunctionUtils.h:107:5: error: unknown type name 'StringRef'
    StringRef methodName = method->getName();
    ^
In file included from src/checks/manuallevel/container-inside-loop.cpp:23:
src/ClazyContext.h:127:9: error: unknown type name 'StringRef'
        StringRef fileName((*file)->getName());
        ^

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list