Skip to content
Snippets Groups Projects
  • Justin Bogner's avatar
    636d9eb9
    test: Disable standard system includes in %clang_cc1 · 636d9eb9
    Justin Bogner authored
    This adds -nostdsysteminc to the %clang_cc1 expansion, which should
    make it harder to accidentally write tests that depend on headers in
    /usr/include. It also updates a few tests that use -isysroot <x> and a
    darwin triple to omit the triple and use -isystem <x>/usr/include
    instead, making them a little bit more general.
    
    Incidentally, this fixes a test failure I'm seeing on darwin in
    Modules/stddef.c, that happens because my system finds a stddef.h in
    /usr/include.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219030 91177308-0d34-0410-b5e6-96231b3b80d8
    636d9eb9
    History
    test: Disable standard system includes in %clang_cc1
    Justin Bogner authored
    This adds -nostdsysteminc to the %clang_cc1 expansion, which should
    make it harder to accidentally write tests that depend on headers in
    /usr/include. It also updates a few tests that use -isysroot <x> and a
    darwin triple to omit the triple and use -isystem <x>/usr/include
    instead, making them a little bit more general.
    
    Incidentally, this fixes a test failure I'm seeing on darwin in
    Modules/stddef.c, that happens because my system finds a stddef.h in
    /usr/include.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219030 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.