- Sep 05, 2012
-
-
Chad Rosier authored
llvm-svn: 163232
-
Jin-Gu Kang authored
- UnionType is checked eariler than RecordType. llvm-svn: 163202
-
Chad Rosier authored
llvm-svn: 163178
-
Chad Rosier authored
implementation does not co-exist well with how the sideeffect and alignstack attributes are handled. llvm-svn: 163173
-
- Sep 04, 2012
-
-
Chad Rosier authored
llvm-svn: 163161
-
Joao Matos authored
llvm-svn: 163149
-
- Sep 02, 2012
-
-
Logan Chien authored
Most of the code guarded with ANDROIDEABI are not ARM-specific, and having no relation with arm-eabi. Thus, it will be more natural to call this environment "Android" instead of "ANDROIDEABI". Note: We are not using ANDROID because several projects are using "-DANDROID" as the conditional compilation flag. llvm-svn: 163088
-
Joao Matos authored
Implemented parsing and AST support for the MS __leave exception statement. Also a minor fix to __except printing in StmtPrinter.cpp. Thanks to Aaron Ballman for review. llvm-svn: 163083
-
- Sep 01, 2012
-
-
Joao Matos authored
llvm-svn: 163032
-
- Aug 31, 2012
-
-
Joao Matos authored
Improved MSVC __interface support by adding first class support for it, instead of aliasing to "struct" which had some incorrect behaviour. Patch by David Robins. llvm-svn: 163013
-
Eli Friedman authored
(__builtin_* etc.) so that it isn't possible to take their address. Specifically, introduce a new type to represent a reference to a builtin function, and a new cast kind to convert it to a function pointer in the operand of a call. Fixes PR13195. llvm-svn: 162962
-
- Aug 29, 2012
-
-
Eli Friedman authored
non-pointer types with a pointer representation correctly. PR13660. llvm-svn: 162862
-
- Aug 28, 2012
-
-
Chad Rosier authored
llvm-svn: 162796
-
Peter Collingbourne authored
llvm-svn: 162787
-
Chad Rosier authored
AsmStmts. This function is only used by GCCAsmStmts, however. Constraints need to be properly computed before MSAsmStmts can use EmitAsmStmt. No functional change intended. llvm-svn: 162776
-
Michael Liao authored
- The increment needs to be signed value to preserve the original value when its data type is larger than 64-bit integer. llvm-svn: 162766
-
Chad Rosier authored
More work towards unifying asm stmt codegen. llvm-svn: 162712
-
Chad Rosier authored
change intended. llvm-svn: 162710
-
Benjamin Kramer authored
Suggested by Roman Divacky. llvm-svn: 162702
-
- Aug 27, 2012
-
-
Benjamin Kramer authored
This avoids emitting many dead GEPs for large zero-initialized arrays. llvm-svn: 162701
-
Chad Rosier authored
coding standards. Also, add stub for MSAsmStmt class as part of unifying codegen logic for AsmStmts. llvm-svn: 162696
-
- Aug 25, 2012
-
-
Eli Friedman authored
array new with a non-trivial constructor. Pointed out in PR13380. llvm-svn: 162643
-
Richard Smith authored
llvm-svn: 162642
-
Richard Smith authored
by this mode, and also check for signed left shift overflow. The rules for the latter are a little subtle: * neither C89 nor C++98 specify the behavior of a signed left shift at all * in C99 and C11, shifting a 1 bit into the sign bit has undefined behavior * in C++11, with core issue 1457, shifting a 1 bit *out* of the sign bit has undefined behavior As of this change, we use the C99 rules for all C language variants, and the C++11 rules for all C++ language variants. Once we have individual -fcatch-undefined-behavior= flags, this should be revisited. llvm-svn: 162634
-
Chad Rosier authored
No functional change intended. llvm-svn: 162632
-
Richard Smith authored
llvm-svn: 162626
-
- Aug 24, 2012
-
-
Chad Rosier authored
CodeGen option to a LangOpt option. In turn, hoist the guard into the parser so that we avoid the new (and fairly unstable) Sema/AST/CodeGen logic. This should restore the behavior of clang to that prior to r158325. <rdar://problem/12163681> llvm-svn: 162602
-
Chad Rosier authored
llvm-svn: 162575
-
Chad Rosier authored
llvm-svn: 162568
-
Benjamin Kramer authored
No functionality change. llvm-svn: 162552
-
Richard Smith authored
* when checking that a pointer or reference refers to appropriate storage for a type, also check the alignment and perform a null check * check that references are bound to appropriate storage * check that 'this' has appropriate storage in member accesses and member function calls llvm-svn: 162523
-
Dmitri Gribenko authored
llvm-svn: 162506
-
- Aug 23, 2012
-
-
Chad Rosier authored
ms-style inline asms. llvm-svn: 162463
-
Dmitri Gribenko authored
llvm-svn: 162452
-
David Chisnall authored
Patch by Niels Grewe! llvm-svn: 162441
-
Eli Friedman authored
llvm-svn: 162440
-
Eli Friedman authored
of a pointer for builtin emission, instead of just depending on the type of the pointee. <rdar://problem/11314941>. llvm-svn: 162425
-
- Aug 22, 2012
-
-
Chad Rosier authored
The parser still can't handle all cases, so fall back to emitting a simple MSAsmStmt if we get into trouble. llvm-svn: 162382
-
Benjamin Kramer authored
llvm-svn: 162361
-
- Aug 21, 2012
-
-
Chad Rosier authored
PR9673 llvm-svn: 162285
-