llvm-6502/tools
David Blaikie 453f4f0130 Use only explicit bool conversion operators
BitVector/SmallBitVector::reference::operator bool remain implicit since
they model more exactly a bool, rather than something else that can be
boolean tested.

The most common (non-buggy) case are where such objects are used as
return expressions in bool-returning functions or as boolean function
arguments. In those cases I've used (& added if necessary) a named
function to provide the equivalent (or sometimes negative, depending on
convenient wording) test.

One behavior change (YAMLParser) was made, though no test case is
included as I'm not sure how to reach that code path. Essentially any
comparison of llvm::yaml::document_iterators would be invalid if neither
iterator was at the end.

This helped uncover a couple of bugs in Clang - test cases provided for
those in a separate commit along with similar changes to `operator bool`
instances in Clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181868 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-15 07:36:59 +00:00
..
bugpoint Use only explicit bool conversion operators 2013-05-15 07:36:59 +00:00
bugpoint-passes
gold
llc Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
lli SectionMemoryManager shouldn't be a JITMemoryManager. Previously, the 2013-05-14 19:29:00 +00:00
llvm-ar
llvm-as Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
llvm-bcanalyzer
llvm-config
llvm-cov
llvm-diff Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-dis Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
llvm-dwarfdump
llvm-extract Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
llvm-jitlistener Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-link Optimize llvm-link too. 2013-05-04 05:30:49 +00:00
llvm-mc Remove the MachineMove class. 2013-05-13 01:16:13 +00:00
llvm-mcmarkup
llvm-nm
llvm-objdump Remove the MachineMove class. 2013-05-13 01:16:13 +00:00
llvm-prof
llvm-ranlib Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-12 10:56:28 +00:00
llvm-readobj Introduce convenience typedefs for the 4 ELF object types. 2013-05-09 13:13:28 +00:00
llvm-rtdyld Use llvm/Object/MachO.h in macho-dumper. Drop the old macho parser. 2013-04-26 20:07:33 +00:00
llvm-shlib
llvm-size
llvm-stress Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-symbolizer At Jim Grosbach's request detemplate Object/MachO.h. 2013-04-18 18:08:55 +00:00
lto Last batch of cleanups to Linker.h. 2013-05-04 03:06:50 +00:00
macho-dump Use llvm/Object/MachO.h in macho-dumper. Drop the old macho parser. 2013-04-26 20:07:33 +00:00
obj2yaml Remove dead code. 2013-04-20 11:06:34 +00:00
opt Add DebugIR pass -- emits IR file and replace source lines with IR lines in MD 2013-05-08 20:44:14 +00:00
yaml2obj Split Alignment out of the Section Characteristics. 2013-05-06 20:11:21 +00:00
CMakeLists.txt Move yaml2obj to tools too. 2013-04-05 20:00:35 +00:00
LLVMBuild.txt
Makefile Move yaml2obj to tools too. 2013-04-05 20:00:35 +00:00