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

Alexander Potashev <aspotas...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |http://commits.kde.org/kdev
                   |                            |elop/8ed162c5024778f50cb303
                   |                            |f333a3062727f695c4
         Resolution|---                         |FIXED

--- Comment #7 from Alexander Potashev <aspotas...@gmail.com> ---
Git commit 8ed162c5024778f50cb303f333a3062727f695c4 by Alexander Potashev.
Committed on 14/09/2016 at 08:56.
Pushed by aspotashev into branch '5.0'.

clang: Make sure include paths are unique

Summary:
std::unique() is not enough because it only removes consecutive
duplicates.

In my case Path(url).parent() pushed into the list at line
"paths.push_front(Path(url).parent());" was duplicating an existing
include path probably generated by CMake.

Reviewers: mwolff, kfunk

Reviewed By: kfunk

Subscribers: brauch, kfunk, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D2765

M  +1    -0    languages/clang/codecompletion/includepathcompletioncontext.cpp

http://commits.kde.org/kdevelop/8ed162c5024778f50cb303f333a3062727f695c4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to