1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/include/llvm/Support
Matthias Braun cf5631d3ff raw_ostream: << operator for callables with raw_stream argument
This allows easier construction of print helpers. Example:

Printable PrintLaneMask(unsigned LaneMask) {
  return Printable([LaneMask](raw_ostream &OS) {
    OS << format("%08X", LaneMask);
  });
}

// Usage:
OS << PrintLaneMask(Mask);

Differential Revision: http://reviews.llvm.org/D14348

llvm-svn: 254655
2015-12-03 22:17:26 +00:00
..
ELFRelocs [AVR] Add ELF constants to headers 2015-10-23 06:05:55 +00:00
AIXDataTypesFix.h
AlignOf.h Fix alignment issues in LLVM. 2015-06-17 01:21:20 +00:00
Allocator.h Fix llvm::BumpPtrAllocatorImpl::Reset() 2015-05-18 16:54:17 +00:00
ARMBuildAttributes.h [AArch64, ARM] Add v8.1a architecture and generic cpu 2015-03-26 17:05:54 +00:00
ARMEHABI.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ARMTargetParser.def [AArch64]: Add support for Cortex-A35 2015-12-02 11:53:44 +00:00
ARMWinEH.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ArrayRecycler.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Atomic.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
BlockFrequency.h Add - and -= operators to BlockFrequency using saturating arithmetic. 2015-10-12 18:34:00 +00:00
BranchProbability.h Replace all weight-based interfaces in MBB with probability-based interfaces, and update all uses of old interfaces. 2015-12-01 05:29:22 +00:00
Capacity.h
Casting.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
CBindingWrapping.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
circular_raw_ostream.h Reformat headers in ADT and Support partially. 2015-08-10 04:22:36 +00:00
CodeGen.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
COFF.h [COFF] Add IMAGE_SCN_TYPE_NOLOAD to SectionCharacteristics 2015-07-30 16:47:56 +00:00
COM.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
CommandLine.h StringRef-ify some Option APIs 2015-11-17 19:00:52 +00:00
Compiler.h Define portable macros for packed struct definitions: 2015-11-04 23:42:56 +00:00
Compression.h Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
ConvertUTF.h Add a UTF8 to UTF16 conversion wrapper for use in the pdb dumper 2015-01-26 19:51:00 +00:00
CrashRecoveryContext.h Fix Clang-tidy modernize-use-nullptr warnings in examples and include directories; other minor cleanups. 2015-09-29 18:02:48 +00:00
DataExtractor.h Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
DataStream.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
DataTypes.h.cmake Rename END_WITH_NULL to LLVM_END_WITH_NULL and move to Compiler.h 2014-11-04 01:12:21 +00:00
DataTypes.h.in Rename END_WITH_NULL to LLVM_END_WITH_NULL and move to Compiler.h 2014-11-04 01:12:21 +00:00
Debug.h docs: Stop using DEBUG() without DEBUG_TYPE in the ProgrammersManual 2015-10-15 18:17:44 +00:00
DOTGraphTraits.h Make the SelectionDAG graph printer use SDNode::PersistentId labels. 2015-10-27 23:09:03 +00:00
Dwarf.def Support: Recognize Borland DWARF extensions. 2015-11-11 18:47:36 +00:00
Dwarf.h dwarfdump: Added macro support to llvm-dwarfdump tool. 2015-11-12 09:38:54 +00:00
DynamicLibrary.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ELF.h [AVR] Add ELF constants to headers 2015-10-23 06:05:55 +00:00
Endian.h Add templated read/write to support::endian. 2015-11-09 21:34:45 +00:00
EndianStream.h Add support for double / float to EndianStream 2015-02-05 03:30:08 +00:00
Errc.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Errno.h
ErrorHandling.h Reformat headers in ADT and Support partially. 2015-08-10 04:22:36 +00:00
ErrorOr.h Reapply r250906 with many suggested updates from Rafael Espindola. 2015-11-05 19:24:56 +00:00
FileOutputBuffer.h Return ErrorOr from FileOutputBuffer::create. NFC. 2015-08-13 00:31:39 +00:00
FileSystem.h NFC: Update documentation for createUniqueFile() to explain that models without an absolute path will be created in the current directory. 2015-11-06 01:45:30 +00:00
FileUtilities.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Format.h Whitespace. 2015-08-10 04:22:09 +00:00
FormattedStream.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
GCOV.h Rename one of our two llvm::GCOVOptions classes to llvm::GCOV::Options. We used 2015-10-14 00:04:19 +00:00
GenericDomTree.h Revert "Support: Partially revert r249782 to unbreak clang build" 2015-10-09 16:51:23 +00:00
GenericDomTreeConstruction.h Reformat headers in ADT and Support partially. 2015-08-10 04:22:36 +00:00
GraphWriter.h Make the SelectionDAG graph printer use SDNode::PersistentId labels. 2015-10-27 23:09:03 +00:00
Host.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
JamCRC.h [MC] Add support for generating COFF CRCs 2015-09-01 21:23:58 +00:00
LEB128.h Fixup for r217830. Don't do left shifts on negative values 2014-09-17 18:23:07 +00:00
LICENSE.TXT
LineIterator.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Locale.h
LockFileManager.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
MachO.h ARM: support .watchos_version_min and .tvos_version_min. 2015-10-28 22:36:05 +00:00
ManagedStatic.h Support: Clean up TSan annotations. 2015-08-18 22:31:24 +00:00
MathExtras.h [Support] Add optional argument to SaturatingAdd() and SaturatingMultiply() to indicate that overflow occurred 2015-11-23 21:54:22 +00:00
MD5.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Memory.h Add a sys::OwningMemoryBlock class, which is a sys::MemoryBlock that owns its 2015-10-31 00:55:32 +00:00
MemoryBuffer.h Add MemoryBufferRef(MemoryBuffer&) constructor. 2015-11-17 05:11:44 +00:00
MemoryObject.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsABIFlags.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Mutex.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MutexGuard.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
OnDiskHashTable.h [PGO] Add support for reading multiple versions of indexed profile format profile data 2015-12-01 20:26:26 +00:00
Options.h Fix some comment typos. 2015-08-08 18:27:36 +00:00
Path.h Moving FileManager::removeDotPaths to llvm::sys::path::remove_dots 2015-11-09 18:56:31 +00:00
PluginLoader.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
PointerLikeTypeTraits.h Reformat headers in ADT and Support partially. 2015-08-10 04:22:36 +00:00
PrettyStackTrace.h Add functions to save and restore the PrettyStackTrace state. 2015-08-07 17:47:03 +00:00
Process.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Program.h Use makeArrayRef or None to avoid unnecessarily mentioning the ArrayRef type extra times. NFC 2015-09-21 05:32:41 +00:00
RandomNumberGenerator.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
raw_os_ostream.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
raw_ostream.h raw_ostream: << operator for callables with raw_stream argument 2015-12-03 22:17:26 +00:00
Recycler.h Support: Stop using iplist in Recycler 2015-10-07 20:49:09 +00:00
RecyclingAllocator.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Regex.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Registry.h Fix Clang-tidy modernize-use-nullptr warnings in examples and include directories; other minor cleanups. 2015-09-29 18:02:48 +00:00
RegistryParser.h
RWMutex.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
SaveAndRestore.h
ScaledNumber.h Fix some comment typos. 2015-08-08 18:27:36 +00:00
Signals.h Rename RunCallBacksToRun to llvm::sys::RunSignalHandlers 2015-07-22 21:11:17 +00:00
SMLoc.h Whitespace. 2015-08-10 04:22:09 +00:00
Solaris.h
SourceMgr.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
SpecialCaseList.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
StreamingMemoryObject.h Fix testing for end of stream in bitstream reader. 2015-08-03 18:01:50 +00:00
StringPool.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
StringSaver.h There is only one saver of strings. 2015-08-13 01:07:02 +00:00
SwapByteOrder.h Fix getSwappedBytes for double. 2015-05-19 08:44:15 +00:00
SystemUtils.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
TargetParser.h [ARM] Add ARMv8.2-A to TargetParser 2015-12-01 10:33:56 +00:00
TargetRegistry.h Reduce the size of MCRelaxableFragment. 2015-11-14 06:35:56 +00:00
TargetSelect.h Whitespace. 2015-08-10 04:22:09 +00:00
thread.h Support: Support LLVM_ENABLE_THREADS=0 in llvm/Support/thread.h. 2015-08-31 00:09:01 +00:00
Threading.h Whitespace. 2015-08-10 04:22:09 +00:00
ThreadLocal.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Timer.h Reformat headers in ADT and Support partially. 2015-08-10 04:22:36 +00:00
TimeValue.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ToolOutputFile.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
TrailingObjects.h Add a TrailingObjects template class. 2015-08-05 22:57:34 +00:00
type_traits.h Add a TrailingObjects template class. 2015-08-05 22:57:34 +00:00
Unicode.h
UnicodeCharRanges.h [Support] Add comment to explain why we can't drop NDEBUG. 2015-10-24 22:15:32 +00:00
UniqueLock.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Valgrind.h Support: Clean up TSan annotations. 2015-08-18 22:31:24 +00:00
Watchdog.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Win64EH.h Support: Delete {aligned_,}{u,}{little,big}8_t 2014-09-11 21:46:33 +00:00
WindowsError.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
YAMLParser.h Instead of defining the operator delete() function, it is better to delete the function so that any uses (even from within Node or its subclasses) do not accidentally call it. NFC intended. 2015-09-22 21:00:35 +00:00
YAMLTraits.h Fix Clang-tidy modernize-use-nullptr warnings in examples and include directories; other minor cleanups. 2015-09-29 18:02:48 +00:00