[all-commits] [llvm/llvm-project] 965d71: [clangd] Avoid traversing C:\ -> C: when looking f...

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Dec 15 05:03:58 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 965d71c69acce658e9e3de00b25a351b00937820
      https://github.com/llvm/llvm-project/commit/965d71c69acce658e9e3de00b25a351b00937820
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M clang-tools-extra/clangd/GlobalCompilationDatabase.cpp

  Log Message:
  -----------
  [clangd] Avoid traversing C:\ -> C: when looking for CDBs

Boost in its infinite wisdom considers C: a parent of C:\, and we've
inherited that. This breaks the assumption that after canonicalizing a
path, the path parents are the directory's parents.




More information about the All-commits mailing list