diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-08 00:55:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-08 00:55:22 +0000 |
commit | 30f05b553db067c994966daca37e75324ee7b424 (patch) | |
tree | 292fe022eba7e479612b6bb806da1047282c9a08 /lib/CodeGen/CodeGenFunction.h | |
parent | 87eaf17cc88516277e4389dfa15df93ecfdce559 (diff) |
Genericize the existing logic for removing duplicate header dirs to apply
the "system dirs win over user dirs" logic to framework and headermap
search locations as well as normal directories. This means that
clang t.m -F/System/Library/Frameworks will treat /System/Library/Frameworks
as a system directory not a user directory. If you use -v, the difference is:
Before:
ignoring nonexistent directory "/usr/libdata/gcc41"
ignoring duplicate framework "/System/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
After:
ignoring nonexistent directory "/usr/libdata/gcc41"
ignoring duplicate directory "/System/Library/Frameworks"
as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
This fixes rdar://6566429.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions