- Feb 05, 2008
-
-
Chris Lattner authored
llvm-svn: 46742
-
- Feb 04, 2008
-
-
Christopher Lamb authored
qualifiers use the __attribute__((address_space(id))) syntax. llvm-svn: 46691
-
- Feb 02, 2008
-
-
Chris Lattner authored
should be merged just like normal globals. This fixes this testcase that Anders provided: static struct s a; static struct s *ap1 = &a; static struct s a = { 10 }; llvm-svn: 46661
-
- Jan 26, 2008
-
-
Anders Carlsson authored
llvm-svn: 46386
-
- Jan 25, 2008
-
-
Steve Naroff authored
Add more support for Apple's "private extern" extension... llvm-svn: 46371
-
Nate Begeman authored
llvm-svn: 46343
-
- Jan 12, 2008
-
-
Chris Lattner authored
extern "C" in C++ mode. Patch by Mike Stump! llvm-svn: 45904
-
- Jan 09, 2008
-
-
Chris Lattner authored
This fixes a crash reported by Seo Sanghyeon llvm-svn: 45778
-
- Dec 30, 2007
-
-
Chris Lattner authored
initializing a global. This handles important cases like: float foo3 = -0.01f; llvm-svn: 45427
-
- Dec 29, 2007
-
-
Chris Lattner authored
discussion of this change. llvm-svn: 45410
-
- Dec 18, 2007
-
-
Chris Lattner authored
reported by Seo. llvm-svn: 45156
-
Chris Lattner authored
Intrinsic::getDeclaration, allowing much more terse code. llvm-svn: 45136
-
- Dec 17, 2007
-
-
Chris Lattner authored
we emit stuff like this: abort on missing sema of initializers, now we emit stuff like this: t3.c:1:24: warning: cannot codegen this initializer yet const char x[2][4] = { { 'a', 'b', '\0', '\0' }, { 'c', 'd', 'e', '\0' } }; ^~~~~~~~~~~~~~~~~~~~~~~~ This should be removed when sema is finished. llvm-svn: 45086
-
Christopher Lamb authored
llvm-svn: 45081
-
- Dec 13, 2007
-
-
Chris Lattner authored
llvm-svn: 44968
-
Chris Lattner authored
llvm-svn: 44963
-
- Dec 12, 2007
-
-
Ted Kremenek authored
Moved all clients of Diagnostics to use FullSourceLoc instead of SourceLocation. Added many utility methods to FullSourceLoc to provide shorthand for: FullLoc.getManager().someMethod(FullLoc.getLocation()); instead we have: FullLoc.someMethod(); Modified TextDiagnostics (and related classes) to use this short-hand. llvm-svn: 44957
-
- Dec 11, 2007
-
-
Ted Kremenek authored
SourceManager is passed by reference, allowing the SourceManager to be associated with a specific translation unit, and not the entire execution of the driver. Modified all users of Diagnostics to comply with this new interface. Integrated SourceManager as a member variable of TargetInfo. TargetInfo will eventually be associated with a single translation unit (just like SourceManager). Made the SourceManager reference in ASTContext private. Provided accessor getSourceManager() for clients to use instead. Modified clients to comply with new interface. llvm-svn: 44878
-
Chris Lattner authored
the types are right in sema. Thanks Steve. llvm-svn: 44834
-
- Dec 10, 2007
-
-
Chris Lattner authored
type. llvm-svn: 44809
-
Chris Lattner authored
char text[] = "string"; llvm-svn: 44752
-
Chris Lattner authored
llvm-svn: 44751
-
Chris Lattner authored
char text[8] = "string"; Big fixme remains. llvm-svn: 44750
-
- Dec 09, 2007
-
-
Chris Lattner authored
llvm-svn: 44730
-
- Dec 02, 2007
-
-
Christopher Lamb authored
Treat discarding array initializer elements as an extwarn (so -pedantic-errors flags it). Allow CodeGen to truncate the initializer if needed. llvm-svn: 44518
-
Chris Lattner authored
llvm-svn: 44512
-
Chris Lattner authored
llvm-svn: 44511
-
Chris Lattner authored
llvm-svn: 44510
-
Chris Lattner authored
extern int x[]; void foo() { x[0] = 1; } int x[10]; void bar() { x[0] = 1; } llvm-svn: 44509
-
Chris Lattner authored
llvm-svn: 44507
-
Chris Lattner authored
their prototype. llvm-svn: 44506
-
Chris Lattner authored
llvm-svn: 44505
-
Chris Lattner authored
t.c:3322:5: warning: cannot codegen this yet __asm__ ("bswap %0" : "+r" (_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ instead of: Unimplemented stmt! (AsmStmt 0x80eaa0 <t.c:3331:5, line:3334:28>) llvm-svn: 44501
-
Oliver Hunt authored
We now use the CodeGenModule logic for generating the constant initialiser expression, so happily further initialiser fixes should automatically work for statics as well. llvm-svn: 44495
-
- Nov 28, 2007
-
-
Chris Lattner authored
merge string literals when it is not provided. llvm-svn: 44394
-
- Nov 23, 2007
-
-
Chris Lattner authored
test/CodeGen/global-with-initialiser.c Patch by Oliver Hunt! llvm-svn: 44290
-
- Nov 01, 2007
-
-
Anders Carlsson authored
llvm-svn: 43593
-
- Oct 31, 2007
-
-
Devang Patel authored
Make target info available to clang code generator. This is far from complete but this helps clang codegen module make progress. At the moment target triplet and target description strings are hard coded in clang::TargetInfo llvm-svn: 43572
-
Devang Patel authored
llvm-svn: 43569
-
Chris Lattner authored
llvm-svn: 43544
-