summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/DataStream.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change default error_code ctor to a 'named ctor' so it's more self-documenting.David Blaikie2012-02-091-2/+2
| | | | | | | | | | | 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
* Remove static initializer from DataStream.cppDavid Blaikie2012-02-091-12/+11
| | | | | | | | | | | 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
* Fix win32 build breakage from bitcode streaming patchDerek Schuff2012-02-071-1/+4
| | | | llvm-svn: 149941
* Fix comment-rulers.Nick Lewycky2012-02-061-1/+1
| | | | llvm-svn: 149922
* Enable streaming of bitcodeDerek Schuff2012-02-061-0/+96
This CL delays reading of function bodies from initial parse until materialization, allowing overlap of compilation with bitcode download. llvm-svn: 149918
OpenPOWER on IntegriCloud