- Aug 12, 2008
-
-
Daniel Dunbar authored
llvm-svn: 54664
-
Mike Stump authored
llvm-svn: 54663
-
Devang Patel authored
Use inversed map for faster queries. llvm-svn: 54662
-
Daniel Dunbar authored
InitializePredefinedMacros(). - Also now properly wired to -fobjc-gc, -fnext-runtime. llvm-svn: 54661
-
Daniel Dunbar authored
Changed CGObjCRuntime::GenerateConstantString interface to take std::string instead of char* and size. Change ObjC functions which call on GenerateConstantString to bitcast result to appropriate type. llvm-svn: 54659
-
Dale Johannesen authored
model, except for external calls; this makes addressing modes PC-relative. Incomplete. The assertion at the top of Emitter::runOnMachineFunction was obviously bogus (always true) so I removed it. If someone knows what the correct test should be to cover all the various targets, please fix. llvm-svn: 54656
-
Chris Lattner authored
Kovarththanan Rajaratnam! llvm-svn: 54655
-
Mike Stump authored
llvm-svn: 54654
-
Chris Lattner authored
do for scalars. Patch contributed by Nicolas Capens This also generalizes the previous xforms to work on long double, now that isExactlyValue works for long double. llvm-svn: 54653
-
Chris Lattner authored
llvm-svn: 54652
-
- 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
-
Devang Patel authored
getAnalysisUsage() repeatedly. llvm-svn: 54650
-
Dan Gohman authored
differences, and to be more specific. llvm-svn: 54648
-
Daniel Dunbar authored
llvm-svn: 54647
-
Dan Gohman authored
of stack objects. This fixes PR2656. llvm-svn: 54646
-
Daniel Dunbar authored
- Changed CodeGenModule::getObjCRuntime to return reference. - Added CodeGenModule::hasObjCRuntime predicate. llvm-svn: 54645
-
Nate Begeman authored
llvm-svn: 54644
-
Daniel Dunbar authored
- Maps to LangOptions.Exceptions - Currently always off, should autoselect based on language. Update CodeGen to set unwind attribute on functions definitions based on LangOptions.Exceptions. - Still need to set attributes appropriately on calls. llvm-svn: 54643
-
Daniel Dunbar authored
llvm-svn: 54642
-
Duncan Sands authored
folding policies with IRBuilder. The default, provided by ConstantFolder, is to do minimal folding like now: what ConstantExpr provides. An alternative is to use TargetFolder, which uses target information to fold constants more. llvm-svn: 54640
-
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
-
Chris Lattner authored
llvm-svn: 54631
-
Chris Lattner authored
llvm-svn: 54630
-
Daniel Dunbar authored
- Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h - Moved Sema::getCurMethodDecl() out of line (dependent on ObjCMethodDecl via dyn_cast). llvm-svn: 54629
-
Daniel Dunbar authored
- Remove internal uses of AST.h llvm-svn: 54628
-
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
- Drop Diagnostic.h from DeclSpec.h, move utility Diag methods into implementation .cpp llvm-svn: 54626
-
Daniel Dunbar authored
- Drop TokenKinds.h from Action.h - Move DeclSpec.h from Sema.h into individual Sema .cpp files llvm-svn: 54625
-
Daniel Dunbar authored
- Not currently accessible and completely non-functional. llvm-svn: 54624
-
Nuno Lopes authored
llvm-svn: 54623
-
- Aug 10, 2008
-
-
Nuno Lopes authored
llvm-svn: 54622
-
Daniel Dunbar authored
temporarily, I assumed GetAddrForConstantString literal was being used consistently but it doesn't look like it is. Factored out a CodeGenModule::getStringForStringLiteral which handles extracting a std::string for the bytes of a StringLiteral, padded to match the type. Update EmitLValue to use getStringForStringLiteral, this was previously not padding strings correctly. Good thing we only emit strings in 4 different places! llvm-svn: 54621
-
Nico Weber authored
* Move FormatError() from TextDiagnostic up to DiagClient, remove now empty class TextDiagnostic * Make DiagClient optional for Diagnostic This fixes the following problems: * -html-diags (and probably others) does now output the same set of warnings as console clang does * nothing crashes if one forgets to call setHeaderSearch() on TextDiagnostic * some code duplication is removed llvm-svn: 54620
-
Steve Naroff authored
llvm-svn: 54619
-
Nico Weber authored
This happened because seralization was done in the constructor, and at that time the TranslationUnit is no longer valid. llvm-svn: 54618
-
Steve Naroff authored
llvm-svn: 54617
-
Daniel Dunbar authored
llvm-svn: 54616
-
Anders Carlsson authored
llvm-svn: 54615
-
Steve Naroff authored
InitListChecker::CheckListElementTypes(): Check for function types and issue an appropriate diagnostic. llvm-svn: 54614
-
Steve Naroff authored
Cleanup from yesterday...make isTentativeDefinition() a static helper function (no need for it to be part of the Sema API). llvm-svn: 54613
-