[all-commits] [llvm/llvm-project] 53c98d: [Driver] Suppress libstdc++/libc++ path with -nost...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Mar 28 11:30:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53c98d85a8a609552448043d5512e70313b1eb1b
      https://github.com/llvm/llvm-project/commit/53c98d85a8a609552448043d5512e70313b1eb1b
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-03-28 (Sun, 28 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/test/Driver/nostdincxx.cpp
    M clang/test/Driver/stdlibxx-isystem.cpp

  Log Message:
  -----------
  [Driver] Suppress libstdc++/libc++ path with -nostdinc

This follows GCC. Having libstdc++/libc++ include paths is not useful
anyway because libstdc++/libc++ header files cannot find features.h.

While here, suppress -stdlib++-isystem with -nostdlibinc.




More information about the All-commits mailing list