Skip to content
  1. Dec 03, 2012
    • Chandler Carruth's avatar
      Use the new script to sort the includes of every file under lib. · ed0881b2
      Chandler Carruth authored
      Sooooo many of these had incorrect or strange main module includes.
      I have manually inspected all of these, and fixed the main module
      include to be the nearest plausible thing I could find. If you own or
      care about any of these source files, I encourage you to take some time
      and check that these edits were sensible. I can't have broken anything
      (I strictly added headers, and reordered them, never removed), but they
      may not be the headers you'd really like to identify as containing the
      API being implemented.
      
      Many forward declarations and missing includes were added to a header
      files to allow them to parse cleanly when included first. The main
      module rule does in fact have its merits. =]
      
      llvm-svn: 169131
      ed0881b2
  2. Sep 23, 2012
  3. Dec 09, 2010
  4. Nov 29, 2010
  5. Nov 16, 2010
    • Michael J. Spencer's avatar
      This is the first step in adding sane error handling support to LLVMSystem. · 5ed2428b
      Michael J. Spencer authored
      The system API's will be shifted over to returning an error_code, and returning
      other return values as out parameters to the function.
      
      Code that needs to check error conditions will use the errc enum values which
      are the same as the posix_errno defines (EBADF, E2BIG, etc...), and are
      compatable with the error codes in WinError.h due to some magic in system_error.
      
      An example would be:
      
      if (error_code ec = KillEvil("Java")) { // error_code can be converted to bool.
        handle_error(ec);
      }
      
      llvm-svn: 119360
      5ed2428b
Loading