[PATCH] D38502: allow access decl without using keyword when emulate msvc

2017-10-03 Thread comicfans44 via Phabricator via cfe-commits
comicfans44 created this revision. comicfans44 added a project: clang. msvc allow such code construction in vs2010 / vs2017 , needs someone check this behavior in VS2012/VS2013/VS2015 Repository: rL LLVM https://reviews.llvm.org/D38502 Files: clang/lib/Sema/SemaDeclCXX.cpp Index: clang/

[PATCH] D38356: keeps include path order when emulate msvc compiler

2017-09-28 Thread comicfans44 via Phabricator via cfe-commits
comicfans44 created this revision. comicfans44 added a project: clang. 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 d