This is an archive of the discontinued LLVM Phabricator instance.

keeps include path order when emulate msvc compiler
Needs ReviewPublic

Authored by comicfans44 on Sep 28 2017, 6:54 AM.

Details

Reviewers
cfe-commits
Summary

clang will drop user supplied include path if it's already in system include paths to emulate gcc. if two files with same name both exist in user path and system path, and user set system path first in arguments, this leads different behavior to msvc. this patch preserve user include path order when emulating msvc.

Diff Detail

Repository
rL LLVM

Event Timeline

comicfans44 created this revision.Sep 28 2017, 6:54 AM