- Jan 30, 2009
-
-
Bill Wendling authored
llvm-svn: 63436
-
Douglas Gregor authored
error, since both C99 and C++ consider it an error. For reference, GCC makes this a warning while G++ makes it an error. llvm-svn: 63435
-
Bill Wendling authored
llvm-svn: 63434
-
Bill Wendling authored
llvm-svn: 63433
-
Douglas Gregor authored
- Support initialization of reference members; complain if any reference members are left uninitialized. - Use C++ copy-initialization for initializing each element (falls back to constraint checking in C) - Make sure we diagnose when one tries to provide an initializer list for a non-aggregate. - Don't complain about empty initializers in C++ (they are permitted) - Unrelated but necessary: don't bother trying to convert the decl-specifier-seq to a type when we're dealing with a C++ constructor, destructor, or conversion operator; it results in spurious warnings. llvm-svn: 63431
-
Fariborz Jahanian authored
llvm-svn: 63430
-
Bill Wendling authored
- Added xform for (select X, 1, Y) and (select X, Y, 0), which was commented on, but missing. llvm-svn: 63428
-
Daniel Dunbar authored
class, not integer. llvm-svn: 63426
-
Bill Wendling authored
llvm-svn: 63424
-
Ted Kremenek authored
the liveness state of block-level expressions could oscillate because of two issues: - The initial value before a merge was not always set to "Top" - The set of live block-level expressions is a union, not an intersection This fixes <rdar://problem/650084>. llvm-svn: 63421
-
Bill Wendling authored
llvm-svn: 63420
-
Bill Wendling authored
llvm-svn: 63419
-
Fariborz Jahanian authored
own sections (related to objc2 nonfragile abi). llvm-svn: 63418
-
Bill Wendling authored
llvm-svn: 63417
-
Bill Wendling authored
llvm-svn: 63416
-
Chris Lattner authored
llvm-svn: 63415
-
Chris Lattner authored
llvm-svn: 63414
-
Daniel Dunbar authored
matches gcc 4.2 (not llvm-gcc). llvm-svn: 63413
-
Ted Kremenek authored
llvm-svn: 63412
-
Bill Wendling authored
llvm-svn: 63411
-
Ted Kremenek authored
llvm-svn: 63410
-
Chris Lattner authored
llvm-svn: 63409
-
Fariborz Jahanian authored
llvm-svn: 63408
-
Chris Lattner authored
llvm-svn: 63407
-
Daniel Dunbar authored
robust enough for general use. llvm-svn: 63406
-
Chris Lattner authored
location. We now -E a file containing "foo" into: # 1 "t.c" # 1 "t.c" 1 # 1 "<predefines>" 1 # 1 "t.c" 2 foo instead of: # 1 "t.c" # 1 "t.c" 1 # 0 "t.c" # 1 "<predefines>" 1 # 1 "t.c" 2 foo llvm-svn: 63405
-
Daniel Dunbar authored
x86_64 ABI: Split small vectors which cross an eightbyte boundary. Down to 33/500 return type failures. llvm-svn: 63404
-
Gabor Greif authored
llvm-svn: 63403
-
Gabor Greif authored
llvm-svn: 63402
-
Devang Patel authored
Each input file is encoded as a separate compile unit in LLVM debugging information output. However, many target specific tool chains prefer to encode only one compile unit in an object file. In this situation, the LLVM code generator will include debugging information entities in the compile unit that is marked as main compile unit. The code generator accepts maximum one main compile unit per module. If a module does not contain any main compile unit then the code generator will emit multiple compile units in the output object file. [Part 1] Update DebugInfo APIs to accept optional boolean value while creating DICompileUnit to mark the unit as "main" unit. By defaults all units are considered non-main. Update SourceLevelDebugging.html to document "main" compile unit. Update DebugInfo APIs to not accept and encode separate source file/directory entries while creating various llvm.dbg.* entities. There was a recent, yet to be documented, change to include this additional information so no documentation changes are required here. Update DwarfDebug to handle "main" compile unit. If "main" compile unit is seen then all DIEs are inserted into "main" compile unit. All other compile units are used to find source location for llvm.dbg.* values. If there is not any "main" compile unit then create unique compile unit DIEs for each llvm.dbg.compile_unit. [Part 2] Create separate llvm.dbg.compile_unit for each input file. Mark compile unit create for main_input_filename as "main" compile unit. Use appropriate compile unit, based on source location information collected from the tree node, while creating llvm.dbg.* values using DebugInfo APIs. --- This is Part 1. llvm-svn: 63400
-
Douglas Gregor authored
llvm-svn: 63398
-
Chris Lattner authored
parameter that allows users to omit the printing of the source location on a diagnostic. So basically it would omit the "abc.c:5:1: " at the beginning of the line." Patch by Alexei Svitkine! llvm-svn: 63396
-
Douglas Gregor authored
type" rather than the C definition. We do this because both C99 and Clang always use "aggregate type" as "aggregate or union type", and the C++ definition includes union types. llvm-svn: 63395
-
Anders Carlsson authored
llvm-svn: 63394
-
Steve Naroff authored
llvm-svn: 63393
-
Nuno Lopes authored
llvm-svn: 63392
-
Nuno Lopes authored
llvm-svn: 63391
-
Nuno Lopes authored
llvm-svn: 63390
-
Zhou Sheng authored
Thanks, Duncan. llvm-svn: 63389
-
Zhou Sheng authored
the LowerPartSet(). It didn't handle the situation correctly when the low, high argument values are in reverse order (low > high) with 'Val' type i32 (a corner case). llvm-svn: 63388
-