Skip to content
  1. Aug 14, 2008
  2. Aug 13, 2008
  3. Aug 12, 2008
  4. Aug 11, 2008
    • Daniel Dunbar's avatar
      Add LangOptions::NeXTRuntime. · 3ad53483
      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
      3ad53483
    • Daniel Dunbar's avatar
      Change CodeGenModule to only create ObjC runtime for ObjC files · 8d480594
      Daniel Dunbar authored
       - Changed CodeGenModule::getObjCRuntime to return reference.
       - Added CodeGenModule::hasObjCRuntime predicate.
      
      llvm-svn: 54645
      8d480594
    • Daniel Dunbar's avatar
      Add -fexceptions to Driver · fb3043d6
      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
      fb3043d6
    • Daniel Dunbar's avatar
      Update for IRBuilder template change (update LLVM!) · 48595de6
      Daniel Dunbar authored
      llvm-svn: 54642
      48595de6
    • Daniel Dunbar's avatar
      More #include cleaning · 56fdb6ae
      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
      56fdb6ae
    • Daniel Dunbar's avatar
      More #include cleaning · 6e8aa537
      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
      6e8aa537
    • Daniel Dunbar's avatar
      More #include cleaning · ad319a73
      Daniel Dunbar authored
       - Remove internal uses of AST.h
      
      llvm-svn: 54628
      ad319a73
    • Daniel Dunbar's avatar
      More #include cleaning · 221fa94e
      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
      221fa94e
    • Daniel Dunbar's avatar
      More #include cleaning · c74b5cc2
      Daniel Dunbar authored
       - Drop Diagnostic.h from DeclSpec.h, move utility Diag methods into
         implementation .cpp
      
      llvm-svn: 54626
      c74b5cc2
    • Daniel Dunbar's avatar
      Minor #include cleaning · 34fb6727
      Daniel Dunbar authored
       - Drop TokenKinds.h from Action.h
       - Move DeclSpec.h from Sema.h into individual Sema .cpp files
      
      llvm-svn: 54625
      34fb6727
    • Daniel Dunbar's avatar
      Add dummy Mac Objective-C runtime interface. · 303e2c2f
      Daniel Dunbar authored
        - Not currently accessible and completely non-functional.
      
      llvm-svn: 54624
      303e2c2f
  5. Aug 10, 2008
    • Daniel Dunbar's avatar
      Back out r54608 (inline string literals were getting an extra '\0') · 6dfdf8c9
      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
      6dfdf8c9
    • Nico Weber's avatar
      * Remove isInSystemHeader() from DiagClient, move it to SourceManager · 4c311643
      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
      4c311643
    • Steve Naroff's avatar
      Cleanup ObjCSuperRefExpr (remove last usage and AST node:-). · 0d7c6dba
      Steve Naroff authored
      llvm-svn: 54617
      0d7c6dba
Loading