[clangd] Relax absolute path checking assertion
authorReid Kleckner <rnk@google.com>
Mon, 10 Apr 2017 17:03:44 +0000 (17:03 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 10 Apr 2017 17:03:44 +0000 (17:03 +0000)
commit65f015ac7f26c80d48072e9ce35a96d7697b9209
tree443856c4bcc1b001e272c224768e2eedc0ae8b5e
parent98851adc2ae1b9379cec011dfe71e9ed07281e41
[clangd] Relax absolute path checking assertion

clangd can process absolute paths from systems that don't use the native
path style, so this assertion needs to check both Windows and Posix path
styles.

Fixes PR32596

llvm-svn: 299854
clang-tools-extra/clangd/ASTManager.cpp