gribozavr added a subscriber: ilya-biryukov.
gribozavr added a comment.

I added a test in r372607 for your reference. It tests both `foo/..` and 
symlink behavior.

> Maybe only collapsing `foo/..` would be viable?

@ilya-biryukov told me that even that is not viable, in case `foo` is a symlink 
to a directory.

The only workable suggestion that we could come up with was adding a separate 
command-line option, `-normalized-header-filter`, that would normalize paths 
before matching the regex. It can be used by people whose project layout does 
not have complex symlink mazes.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D67501



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

Reply via email to