[all-commits] [llvm/llvm-project] d03838: Make -Wnonportable-include-path ignore drive case ...

Nico Weber via All-commits all-commits at lists.llvm.org
Thu May 7 12:54:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d03838343f2199580a1942eb353901add38af909
      https://github.com/llvm/llvm-project/commit/d03838343f2199580a1942eb353901add38af909
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-05-07 (Thu, 07 May 2020)

  Changed paths:
    M clang/lib/Lex/PPDirectives.cpp
    A clang/test/Lexer/case-insensitive-include-win.c
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  Make -Wnonportable-include-path ignore drive case on Windows.

See PR45812 for motivation.

No explicit test since I couldn't figure out how to get the
current disk drive in lower case into a form in lit where I could
mkdir it and cd to it. But the change does have test coverage in
that I can remove the case normalization in lit, and tests failed
on several bots (and for me locally if in a pwd with a lower-case
drive) without that normalization prior to this change.

Differential Revision: https://reviews.llvm.org/D79531




More information about the All-commits mailing list