AaronBallman wrote:

> Thanks, @AaronBallman,
> 
> > > Ideally, I think we would do the following at some point to improve 
> > > compatibility with MSVC.
> > 
> > 
> > I'm not opposed, but I am concerned about the potential to subtly break 
> > user code that's relying on our current search path behavior. We may need 
> > to find some clever diagnostics for cases where lookup would have 
> > previously succeeded or found a different file.
> 
> The changes I was suggesting in that comment would not change what files are 
> found; it would only affect whether the file was to be treated as a user or 
> system header. 

Doesn't that impact whether a header is found via `""` or `<>` syntax? e.g., if 
something went from a user header to a system header, I thought that meant the 
search order would then change depending on which include syntax you used?

https://github.com/llvm/llvm-project/pull/105738
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to