Summary: | Crash when autocomplete with is_detected [crash in templateParamsHelper] | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Guillaume Racicot <gufideg> |
Component: | Language Support: CPP (Clang-based) | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | Keywords: | drkonqi |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kdevelop/6df7ff9882516f83883c811e7660a185c2e5727c | Version Fixed In: |
Description
Guillaume Racicot
2018-05-09 18:52:05 UTC
Git commit 6df7ff9882516f83883c811e7660a185c2e5727c by Friedrich W. H. Kossebau. Committed on 20/07/2018 at 10:39. Pushed by kossebau into branch 'master'. Fix QStringBuilder taking reference to temporary due to auto Summary: Compiler decides for "auto" type result to use QStringBuilder, though the expression passed to it includes a temporary QString result from a QStringList::join() result. Which then is dropped after the assignement, due to getting out of scope. Reviewers: #kdevelop, shashwatdixit, mwolff, kfunk Reviewed By: #kdevelop, kfunk Subscribers: kfunk, kdevelop-devel Tags: #kdevelop Differential Revision: https://phabricator.kde.org/D14235 M +1 -1 plugins/clang/codecompletion/completionhelper.cpp https://commits.kde.org/kdevelop/6df7ff9882516f83883c811e7660a185c2e5727c |