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. Feb 09, 2012
    • David Blaikie's avatar
      Change default error_code ctor to a 'named ctor' so it's more self-documenting. · 18544b96
      David Blaikie authored
      Unify default construction of error_code uses on this idiom so that users don't
      feel compelled to make static globals for naming convenience. (unfortunately I
      couldn't make the original ctor private as some APIs don't return their result,
      instead using an out parameter (that makes sense to default construct) - which
      is a bit of a pity. I did, however, find/fix some cases of unnecessary default
      construction of error_code before I hit the unfixable cases)
      
      llvm-svn: 150197
      18544b96
    • David Blaikie's avatar
      Remove static initializer from DataStream.cpp · e7d7a5df
      David Blaikie authored
      If someone would prefer a clear name for the 'success' error_value we could
      come up with one - potentially just a 'named constructor' style
      'error_value::success()' to make this expression more self-documenting. If
      I see this come up in other cases I'll certainly consider it.
      
      One step along the way to resolving PR11944.
      
      llvm-svn: 150120
      e7d7a5df
  4. Feb 07, 2012
  5. Feb 06, 2012
Loading