llvm-project/clang/lib
Ehsan Akhgari d851833c9a [MSVC Compat] Only warn for unknown clang-cl arguments
Summary:
MSVC's driver accepts all unknown arguments but warns about them.  clang
by default rejects all unknown arguments.  This causes issues
specifically with build systems such as autoconf which liberally pass
things such as $LDFLAGS to the compiler and expect everything to work.
This patch teaches clang-cl to ignore unknown driver arguments.

Reviewers: rnk

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D16511

llvm-svn: 258720
2016-01-25 21:14:52 +00:00
..
ARCMigrate Fix funciton->function typo. 2015-12-16 23:10:46 +00:00
AST Fix printing of types in initializers with suppressed tags. 2016-01-25 10:34:06 +00:00
ASTMatchers Add am AST matcher for isMoveAssignmentOperator. 2016-01-22 22:37:09 +00:00
Analysis Use range-based for loop to avoid the need for calculating an array size. NFC 2015-11-30 03:11:12 +00:00
Basic Change of UserLabelPrefix default value from "_" to "" 2016-01-22 15:24:34 +00:00
CodeGen [PGO] Windows buildbot failure fix. [NFC] 2016-01-24 00:56:19 +00:00
Driver [MSVC Compat] Only warn for unknown clang-cl arguments 2016-01-25 21:14:52 +00:00
Edit [Bugfix] Fix ICE on constexpr vector splat. 2016-01-13 01:52:39 +00:00
Format Fix formatting of fully qualified names in array subscripts. 2016-01-19 14:05:32 +00:00
Frontend Introduce -fsanitize-stats flag. 2016-01-16 00:31:22 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [CUDA] Make printf work. 2016-01-23 21:28:14 +00:00
Index Roll-back r250822. 2015-10-20 13:23:58 +00:00
Lex [MSVC Compat] Accept elided commas in macro function arguments 2016-01-22 19:26:44 +00:00
Parse [OpenMP] Update map clause SEMA to support OpenMP 4.5 possible list items. 2016-01-22 20:21:36 +00:00
Rewrite Roll-back r250822. 2015-10-20 13:23:58 +00:00
Sema [Sema] Improve constness 2016-01-25 09:29:38 +00:00
Serialization Module Debugging: Canonicalize the file names used as PCH module names 2016-01-22 23:30:56 +00:00
StaticAnalyzer [analyzer] Utility to match function calls. 2016-01-22 22:32:46 +00:00
Tooling Add fall-back mode for clang tools. 2015-12-03 10:38:53 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00