- Feb 17, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 64804
-
- Jan 20, 2009
-
-
Douglas Gregor authored
that every declaration lives inside a DeclContext. Moved several things that don't have names but were ScopedDecls (and, therefore, NamedDecls) to inherit from Decl rather than NamedDecl, including ObjCImplementationDecl and LinkageSpecDecl. Now, we don't store empty DeclarationNames for these things, nor do we try to insert them into DeclContext's lookup structure. The serialization tests are temporarily disabled. We'll re-enable them once we've sorted out the remaining ownership/serialiazation issues between DeclContexts and TranslationUnion, DeclGroups, etc. llvm-svn: 62562
-
- Oct 21, 2008
-
-
Daniel Dunbar authored
llvm-svn: 57924
-
- Aug 16, 2008
-
-
Daniel Dunbar authored
- Add CodeGenModule::EmitTopLevelDecl which uses switch on kind instead of ugly & slow dyn_cast chains. - Drop some simple forwarding methods into the ObjC runtime. - Privatize appropriate methods. llvm-svn: 54827
-
- Aug 13, 2008
-
-
Daniel Dunbar authored
ObjCProtocolDecl directly. Implement CodeGen support for forward protocol decls (no-ops are so nice to implement). Also moved CGObjCRuntime.h out of CodeGenModule.h llvm-svn: 54709
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Wired to -fnext-runtime and -fgnu-runtime options. - Defaults to GNU, no autoselection for NeXT. Emit NeXT OBJC_IMAGE_INFO marker. llvm-svn: 54651
-
Daniel Dunbar authored
- Kill unnecessary #includes in .cpp files. This is an automatic sweep so some things removed are actually used, but happen to be included by a previous header. I tried to get rid of the obvious examples and this was the easiest way to trim the #includes in one fell swoop. - We now return to regularly scheduled development. llvm-svn: 54632
-
Daniel Dunbar authored
- Drop Expr.h,RecordLayout.h from ASTContext.h (for DeclBase.h and SourceLocation.h) - Move ASTContext constructor into implementation llvm-svn: 54627
-
Daniel Dunbar authored
- Not currently accessible and completely non-functional. llvm-svn: 54624
-
- Aug 10, 2008
-
-
Nico Weber authored
llvm-svn: 54599
-
- Aug 07, 2008
-
-
Ted Kremenek authored
ModuleBuilder now performs llvmgen in HandleTranslationUnit. This patch follows from the discussion on the following thread on cfe-commits: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080804/006849.html llvm-svn: 54486
-
- Aug 05, 2008
-
-
Ted Kremenek authored
Refactored driver logic for CodeGen into LLVMCodeGenWriter. This ASTConsumer layers on top of LLVMCodeGen (another existing ASTConsumer) to emit bitcode files to disk. This layering takes this logic out of clang.cpp and puts it directly into the ASTConsumer interface. The benefit is that now --emit-llvm works with both serialized ASTs and regular source files. llvm-svn: 54364
-
- Jul 30, 2008
-
-
Daniel Dunbar authored
- No (intended) functionality change. - Primary purpose is to clearly separate (lazy) construction of globals that are a forward declaration or tentative definition from those that are the final definition. - Lazy construction is now encapsulated in GetAddrOf{Function,GlobalVar} while final definitions are constructed in EmitGlobal{Function,Var}Definition. - External interface for dealing with globals is now limited to EmitGlobal and GetAddrOf{Function,GlobalVar}. - Also updated helper functions dealing with statics, annotations, and ctors to be private. llvm-svn: 54179
-
- Jul 29, 2008
-
-
Daniel Dunbar authored
- Killed useless CodeGenModule::EmitGlobalVarDeclarator, instead just recurse on any ScopedDecl. - Fix for <rdar://problem/6093838> llvm-svn: 54162
-
- Jun 01, 2008
-
-
Anton Korobeynikov authored
Implemented by David Chisnall! llvm-svn: 51835
-
- May 27, 2008
-
-
Eli Friedman authored
llvm-svn: 51579
-
- May 08, 2008
-
-
Sanjiv Gupta authored
Added -g command line options to clang for generating source level debug information. This patch currently enables generation of line number debug information (stoppoints) and region begin/end debug information. The new files CGDebugInfo.h and CGDebugInfo.cpp implements the debug info manager class CGDebugInfo. llvm-svn: 50848
-
- Apr 16, 2008
-
-
Steve Naroff authored
Remove FileVarDecl and BlockVarDecl. They are replaced by VarDecl::isBlockVarDecl() and VarDecl::isFileVarDecl(). This is a fairly mechanical/large change. As a result, I avoided making any changes/simplifications that weren't directly related. I did break two Analysis tests. I also have a couple FIXME's in UninitializedValues.cpp. Ted, can you take a look? If the bug isn't obvious, I am happy to dig in and fix it (since I broke it). llvm-svn: 49748
-
- Mar 31, 2008
-
-
Chris Lattner authored
etoile runtime, patch by David Chisnall! llvm-svn: 48969
-
- Mar 16, 2008
-
-
Chris Lattner authored
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
-
- Feb 08, 2008
-
-
Anders Carlsson authored
llvm-svn: 46868
-
Anders Carlsson authored
llvm-svn: 46867
-
- Feb 07, 2008
-
-
Anders Carlsson authored
llvm-svn: 46855
-
- Feb 06, 2008
-
-
Chris Lattner authored
llvm-svn: 46801
-
Chris Lattner authored
tag decl after it has been completed llvm-svn: 46798
-
Chris Lattner authored
eliminating a bunch of forwarding methods and generally simplifying things. llvm-svn: 46792
-
- Feb 05, 2008
-
-
Chris Lattner authored
simplify the code and generally make it more robust. llvm-svn: 46745
-
- Jan 12, 2008
-
-
Chris Lattner authored
extern "C" in C++ mode. Patch by Mike Stump! llvm-svn: 45904
-
- Dec 29, 2007
-
-
Chris Lattner authored
discussion of this change. llvm-svn: 45410
-
- Dec 02, 2007
-
-
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
-
- Nov 28, 2007
-
-
Chris Lattner authored
merge string literals when it is not provided. llvm-svn: 44394
-
- Nov 13, 2007
-
-
Chris Lattner authored
Cedric Venet. llvm-svn: 44050
-
- 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
-
Chris Lattner authored
llvm-svn: 43544
-
Devang Patel authored
This is far from complete but this helps clang codegen module make progress. llvm-svn: 43536
-
- Jul 14, 2007
-
-
Chris Lattner authored
llvm-svn: 39848
-
- Jul 13, 2007
-
-
Chris Lattner authored
llvm-svn: 39795
-
- Jun 16, 2007
-
-
Chris Lattner authored
out of the llvm namespace. This makes the clang namespace be a sibling of llvm instead of being a child. The good thing about this is that it makes many things unambiguous. The bad things is that many things in the llvm namespace (notably data structures like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport should be split out of llvm into their own namespace in the future, which will fix this issue. llvm-svn: 39659
-
- May 28, 2007
-
-
Chris Lattner authored
llvm-svn: 39504
-
- May 24, 2007
-
-
Chris Lattner authored
library to be built for the driver to link. llvm-svn: 39495
-