paperchalice added a comment.

In D136940#3893391 <https://reviews.llvm.org/D136940#3893391>, @MaskRay wrote:

> `clang/test/Driver/config-file3.c` tests `--config-user-dir=` but I cannot 
> think of a portable way testing this.
> `RUN: echo ~; %clang -### --config-user-dir=~ ...` doesn't work as the 
> selected directory is not dumped.

I can dump user configuration file directory via `clang --config-user-dir=<some 
directory> -v`, but
`RUN: { echo tilde: ~; %clang -v --config-user-dir=~ 2>&1; } | FileCheck %s 
-check-prefix CHECK-TILDE` doesn't work on Windows.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136940

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to