- Apr 28, 2011
-
-
Rafael Espindola authored
converting the symbol passed to .cfi_personality into bytes is the file. llvm-svn: 130400
-
Douglas Gregor authored
as a keyword for the __is_signed type trait. Cope with this conflict via some hackish recovery: if we see a declaration of the form static const bool __is_signed then we stop treating __is_signed as a keyword and instead treat it as an identifier. It's ugly, but it's better than making the __is_signed type trait conditional on some language flag. Fixes PR9804. llvm-svn: 130399
-
Lenny Maiorani authored
llvm-svn: 130398
-
Rafael Espindola authored
llvm-svn: 130397
-
Jay Foad authored
llvm-svn: 130396
-
Chandler Carruth authored
a bit more sinister as the memset doesn't do what the constructor does. There seems to be a cleaner solution than a cast here though, instead we can point the memset destination into the union its actually trying to clear. An alternative is to point to the Untyped member of this union. Review appreciated, and if that is cleaner I'm happy to switch. All of these should be functionally equivalent to the original code. llvm-svn: 130395
-
Chandler Carruth authored
able to revert these based on a patch I'm working on, but no reason for people to be spammed with warnings in the interim. llvm-svn: 130394
-
Chandler Carruth authored
llvm-svn: 130393
-
Chandler Carruth authored
llvm-svn: 130392
-
Chandler Carruth authored
llvm-svn: 130391
-
Chris Lattner authored
wider load would allow elimination of subsequent loads, and when the wider load is still a native integer type. This eliminates a ton of loads on various benchmarks involving struct fields, though it is somewhat hobbled by clang not being very aggressive about field alignment. This is yet another step along the way towards resolving PR6627. llvm-svn: 130390
-
Anton Korobeynikov authored
llvm-svn: 130389
-
Ted Kremenek authored
llvm-svn: 130387
-
Eric Christopher authored
immediate patterns in arm to using the pattern. Handles rdar://9299434 llvm-svn: 130386
-
Chris Lattner authored
llvm-svn: 130385
-
Francois Pichet authored
llvm-svn: 130384
-
Ted Kremenek authored
Enhance clang_getCXTUResourceUsage() to report the amount of memory used by ASTContext's side tables. llvm-svn: 130383
-
Ted Kremenek authored
llvm-svn: 130382
-
Francois Pichet authored
This idiom is used everywhere in MFC/COM code and as such this patch removes hundreds of errors when parsing MFC code with clang. Example: template <class T, const GUID* g = &__uuidof(T)> class ComTemplate { }; typedef ComTemplate<struct_with_uuid, &__uuidof(struct_with_uuid)> COM_TYPE; Of course this is just parsing support. Trying to use this in CodeGen will generate: error: cannot yet mangle expression type CXXUuidofExpr llvm-svn: 130381
-
Ted Kremenek authored
Enhance clang_getCXTUResourceUsage() to report the amount of memory used by SourceManager's content cache allocator. llvm-svn: 130380
-
Rafael Espindola authored
This removes one of the main advantages of moving eh_frame to MC, but makes the transition a lot easier to debug (run md5). llvm-svn: 130379
-
Rafael Espindola authored
llvm-svn: 130378
-
Francois Pichet authored
llvm-svn: 130377
-
John McCall authored
worked out. llvm-svn: 130376
-
Rafael Espindola authored
symbols. llvm-svn: 130375
-
Devang Patel authored
llvm-svn: 130374
-
Devang Patel authored
This fixes clang generated blocks' variables' debug info. Radar 9279956. llvm-svn: 130373
-
John McCall authored
make sure to mark the destructor. This normally isn't required, because the destructor should have been marked as part of the declaration of the local, but it's necessary when the variable is a parameter because it's the call sites that are responsible for those destructors. llvm-svn: 130372
-
John Wiegley authored
llvm-svn: 130371
-
Francois Pichet authored
llvm-svn: 130370
-
Francois Pichet authored
Otherwise statements like: __int64 var = __int64(0); would be expanded to: long long var = long long(0); and fail to compile. llvm-svn: 130369
-
Ted Kremenek authored
Convert assertion in memset checking to a runtime check (because real code may provide a deviant definition of memset). llvm-svn: 130368
-
John Wiegley authored
llvm-svn: 130367
-
John Wiegley authored
Patch authored by Sohail Somani. Provide parsing and AST support for Windows structured exception handling. llvm-svn: 130366
-
Douglas Gregor authored
non-CVR qualifiers. We can now properly match address-space--qualified references during template argument deduction. llvm-svn: 130365
-
Chris Lattner authored
llvm-svn: 130364
-
Eli Friedman authored
llvm-svn: 130360
-
Matt Beaumont-Gay authored
llvm-svn: 130359
-
Justin Holewinski authored
- expansion of SELECT_CC into SETCC - force SETCC result type to i1 - custom selection for handling i1 using SETCC Patch by Dan Bailey llvm-svn: 130358
-
Justin Holewinski authored
- selection of SELP instruction - new selp.ll test Patch by Dan Bailey llvm-svn: 130357
-