| Summary: | Build with trunk LLVM/Clang is broken | ||
|---|---|---|---|
| Product: | [Developer tools] clazy | Reporter: | Eugene Zelenko <eugene.zelenko> |
| Component: | general | Assignee: | Sergio Martins <smartins> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | smartins |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Do you have a patch or suggestion ? :) Fix is very trivial: - auto &Replacements = ToolingDiag.Fix[replacement.getFilePath()]; + auto &Replacements = ToolingDiag.Message.Fix[replacement.getFilePath()]; You don't get a linker error with that patch ? Git commit 3e684e046eefff815d62eebd85d087a25944c22f by Sergio Martins. Committed on 19/05/2019 at 12:43. Pushed by smartins into branch 'master'. Fix build with llvm trunk M +3 -2 src/FixItExporter.cpp M +10 -0 src/SourceCompatibilityHelpers.h https://commits.kde.org/clazy/3e684e046eefff815d62eebd85d087a25944c22f Linker error is independent for API changes. Linker error was my fault, nevermind. |
src/FixItExporter.cpp:141:46: error: no member named 'Fix' in 'clang::tooling::Diagnostic' auto &Replacements = ToolingDiag.Fix[replacement.getFilePath()]; ~~~~~~~~~~~ ^