- Nov 12, 2016
-
-
Zachary Turner authored
This introduces a new type-safe general purpose formatting library. It provides compile-time type safety, does not require a format specifier (since the type is deduced), and provides mechanisms for extending the format capability to user defined types, and overriding the formatting behavior for existing types. This patch additionally adds documentation for the API to the LLVM programmer's manual. Mailing List Thread: http://lists.llvm.org/pipermail/llvm-dev/2016-October/105836.html Differential Revision: https://reviews.llvm.org/D25587 llvm-svn: 286682
-
- Nov 11, 2016
-
-
Piotr Padlewski authored
llvm-svn: 286645
-
- Nov 07, 2016
-
-
Lang Hames authored
programmer's manual. ExitOnError is often a better alternative to handleErrors for tool code. This patch makes it easier to find the ExitOnError discussion when reading the handleErrors section. Thanks to Peter Collingbourne for the suggestion. llvm-svn: 286167
-
- Nov 01, 2016
-
-
Kostya Serebryany authored
llvm-svn: 285668
-
- Oct 31, 2016
-
-
Kostya Serebryany authored
docs: trying to fix the docs bot by removing non-ASCII characters. The docs build fine on my machine, bot fail on the bot (http://lab.llvm.org:8011/builders/llvm-sphinx-docs/builds/25/steps/docs-llvm-html/logs/stdio) llvm-svn: 285639
-
- Oct 27, 2016
-
-
Kostya Serebryany authored
[libFuzzer] remove large examples from the libFuzzer docs and link to the libFuzzer tutorial instead; also fix a build error in another file llvm-svn: 285337
-
- Oct 26, 2016
-
-
Lang Hames authored
llvm-svn: 285141
-
Lang Hames authored
llvm-svn: 285138
-
Lang Hames authored
llvm-svn: 285137
-
Lang Hames authored
Thanks to Pete Cooper for the review. llvm-svn: 285136
-
Lang Hames authored
llvm-svn: 285134
-
Lang Hames authored
llvm-svn: 285133
-
- Oct 25, 2016
-
-
Lang Hames authored
This patch updates some of the existing Error examples, expands on the documentation for handleErrors, and includes new sections that cover a number of helpful utilities and common error usage idioms. llvm-svn: 285122
-
- Sep 02, 2016
-
-
Andrey Bokhanko authored
llvm-svn: 280481
-
Lang Hames authored
llvm-svn: 280461
-
Lang Hames authored
llvm-svn: 280460
-
- Jul 13, 2016
-
-
Etienne Bergeron authored
llvm-svn: 275255
-
- Jul 10, 2016
-
-
Sean Silva authored
llvm-svn: 275002
-
- Apr 14, 2016
-
-
Mehdi Amini authored
At the same time, fixes InstructionsTest::CastInst unittest: yes you can leave the IR in an invalid state and exit when you don't destroy the context (like the global one), no longer now. This is the first part of http://reviews.llvm.org/D19094 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266379
-
- Mar 25, 2016
-
-
Reid Kleckner authored
This implements my suggestion to Lang. llvm-svn: 264360
-
- Mar 24, 2016
-
-
Lang Hames authored
llvm-svn: 264314
-
- Mar 23, 2016
-
-
Justin Bogner authored
This should fix the docs build. Spotted by spstarr, thanks! llvm-svn: 264209
-
Vedant Kumar authored
Patch by Miod Vallat! llvm-svn: 264138
-
Lang Hames authored
Manual. llvm-svn: 264135
-
- Mar 16, 2016
-
-
Lang Hames authored
This patch introduces the Error classs for lightweight, structured, recoverable error handling. It includes utilities for creating, manipulating and handling errors. The scheme is similar to exceptions, in that errors are described with user-defined types. Unlike exceptions however, errors are represented as ordinary return types in the API (similar to the way std::error_code is used). For usage notes see the LLVM programmer's manual, and the Error.h header. Usage examples can be found in unittests/Support/ErrorTest.cpp. Many thanks to David Blaikie, Mehdi Amini, Kevin Enderby and others on the llvm-dev and llvm-commits lists for lots of discussion and review. llvm-svn: 263609
-
- Feb 14, 2016
-
-
Sylvestre Ledru authored
llvm-svn: 260855
-
- Jan 12, 2016
-
-
Christof Douma authored
This means that the DEBUG_TYPE cannot take a comma anymore. All existing passes conform to this rule. Differential Revision: http://reviews.llvm.org/D15645 llvm-svn: 257466
-
- Oct 15, 2015
-
-
Justin Bogner authored
The DEBUG() macro has required that a DEBUG_TYPE be set since r206822. Update the programmers manual to reflect that, and also update the wording to point out that DEBUG_TYPE should be defined after #includes. llvm-svn: 250436
-
- Jul 29, 2015
-
-
Aaron Ballman authored
Reverting r243386 because it has serious post-commit concerns that have not been addressed. Also reverts r243389, which relied on this commit. llvm-svn: 243527
-
- Jul 28, 2015
-
-
Puyan Lotfi authored
llvm-svn: 243386
-
- Jul 12, 2015
-
-
Yaron Keren authored
llvm-svn: 241997
-
- May 19, 2015
-
-
Artyom Skrobov authored
llvm-svn: 237677
-
- Apr 16, 2015
-
-
Charlie Turner authored
VMCore was renamed to IR back in 2013. The relevant "core" implementations were moved into the lib/IR directory at the same time. llvm-svn: 235116
-
- Apr 14, 2015
-
-
Ed Maste authored
Patch by Eitan Adler. Differential Revision: http://reviews.llvm.org/D8514 llvm-svn: 234939
-
- Mar 26, 2015
-
-
Sanjoy Das authored
Summary: This patch is an attempt at making `DenseMapIterator`s "fail-fast". Fail-fast iterators that have been invalidated due to insertion into the host `DenseMap` deterministically trip an assert (in debug mode) on access, instead of non-deterministically hitting memory corruption issues. Enabling fail-fast iterators breaks the LLVM C++ ABI, so they are predicated on `LLVM_ENABLE_ABI_BREAKING_CHECKS`. `LLVM_ENABLE_ABI_BREAKING_CHECKS` by default flips with `LLVM_ENABLE_ASSERTS`, but can be clamped to ON or OFF using the CMake / autoconf build system. Reviewers: chandlerc, dexonsmith, rnk, zturner Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8351 llvm-svn: 233310
-
- Mar 17, 2015
-
-
Adam Nemet authored
This appeared when the example was converted to use range-based loop in r207755. llvm-svn: 232509
-
- Feb 21, 2015
-
-
Justin Bogner authored
Patch by Rob Stewart. Thanks! llvm-svn: 230144
-
- Jan 28, 2015
-
-
Sean Silva authored
Again, I'd like to emphasize to everyone that this sort of markup change is *not* what you should be concerned about when writing docs. Focus on *content*. I applaud Chandler for focusing on the fantastic content of this new section! llvm-svn: 227305
-
Chandler Carruth authored
polymorphism, and virtual dispatch. This is essentially trying to explain the emerging design techniques being used in LLVM these days somewhere more accessible than the comments on a particular piece of infrastructure. It covers the "concepts-based polymorphism" that caused some confusion during initial reviews of the new pass manager as well as the tagged-dispatch mechanism used pervasively in LLVM and Clang. Perhaps most notably, I've tried to provide some criteria to help developers choose between these options when designing new pieces of infrastructure. Differential Revision: http://reviews.llvm.org/D7191 llvm-svn: 227292
-
- Jan 17, 2015
-
-
Hans Wennborg authored
llvm-svn: 226367
-