llvm-project/clang/lib
Matthias Braun bf4a869dfb CodeGenModule: Always output wchar_size, check LLVM assumptions.
llvm::TargetLibraryInfo needs to know the size of wchar_t to work on
functions like `wcslen`. This patch changes clang to always emit the
wchar_size module flag (it would only do so for ARM previously).
This also adds an `assert()` to ensure the LLVM defaults based on the
target triple are in sync with clang.

Differential Revision: https://reviews.llvm.org/D32982

llvm-svn: 303463
2017-05-19 22:37:15 +00:00
..
ARCMigrate [ARCMigrate] When applying changes from remap files, disable the 'adjustRemovals' functionality of EditedSource 2017-04-28 00:25:06 +00:00
AST [ODRHash] Revert r303450 to fix buildbot 2017-05-19 22:35:41 +00:00
ASTMatchers Add cxxStdInitializerListExpr AST matcher 2017-05-05 21:01:12 +00:00
Analysis Fix PR13910: Don't warn that __builtin_unreachable() is unreachable 2017-04-11 15:36:06 +00:00
Basic CodeGen: Cast alloca to expected address space 2017-05-18 18:51:09 +00:00
CodeGen CodeGenModule: Always output wchar_size, check LLVM assumptions. 2017-05-19 22:37:15 +00:00
Driver clang-cl: Fix path-based MSVC version detection 2017-05-17 15:27:44 +00:00
Edit [ARCMigrate] When applying changes from remap files, disable the 'adjustRemovals' functionality of EditedSource 2017-04-28 00:25:06 +00:00
Format [clang-format] Handle trailing comment sections in import statement lines 2017-05-19 10:34:57 +00:00
Frontend [Frontend] Remove unused TemporaryFiles 2017-05-17 14:51:44 +00:00
FrontendTool unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
Headers (1) Fixed mismatch in intrinsics names in declarations and in doxygen comments. 2017-05-17 01:46:11 +00:00
Index [index] Record references to class receivers used in property references 2017-05-18 10:43:11 +00:00
Lex [Lexer] Ensure that the token is not an annotation token when 2017-05-17 11:08:36 +00:00
Parse When a type-id is unexpectedly given a name, assume that the name is unrelated 2017-05-19 01:54:59 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema Do not issue -Wnullability-completeness for dependent types that are not written as pointer types. 2017-05-19 20:20:13 +00:00
Serialization [modules] Further delay calling DeclMustBeEmitted until it's safe. 2017-05-19 16:46:06 +00:00
StaticAnalyzer [Statistics] Use the new Statistic::updateMax to atomically calculate a maximum value statistic. 2017-05-18 01:11:52 +00:00
Tooling [tooling] RefactoringCallbacks code cleanup 2017-05-12 00:16:56 +00:00
CMakeLists.txt