[PATCH] D79595: Fix bugs when an included file name is typo corrected.

Abhinav Gaba via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 11 09:07:32 PDT 2020


abhinavgaba added inline comments.


================
Comment at: clang/test/Lexer/case-insensitive-include-win.c:8
 // RUN: touch %t.dir/foo.h
-// RUN: not %clang_cl /FI\\?\%t.dir\FOO.h /WX -Xclang -verify -fsyntax-only %s 2>&1 | FileCheck %s
+// RUN: not %clang_cl /FI\\?\%t.dir\FOO.h /WX -fsyntax-only %s 2>&1 | FileCheck %s
 
----------------
The test is currently failing if path of an existing directory in a network mounted drive, using forward slashes, is in CPATH. (e.g. `export CPATH=//abc.def.com/dir1`).

The error in that case is:
```
fatal error: cannot open file
      '//abc.def.com/dir1\?\<path_to_clang_dir>\test\Lexer\Output\case-insensitive-include-win.c.tmp.dir\FOO.h':
      The specified path is invalid.
```



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79595/new/

https://reviews.llvm.org/D79595





More information about the cfe-commits mailing list