1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/include/llvm
Evgeny Mankov a442cb9f0a [Support][CommandLine] Add cl::Option::setDefault()
Add abstract virtual method setDefault() to class Option and implement it in its inheritors in order to be able to set all the options to its default values in user's code without actually knowing all these options. For instance:

for (auto &OM : cl::getRegisteredOptions(*cl::TopLevelSubCommand)) {
  cl::Option *O = OM.second;
  O->setDefault();
}

Reviewed by: rampitec, Eugene.Zelenko, kasaurov

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

llvm-svn: 311887
2017-08-28 13:39:43 +00:00
..
ADT [ADT] Enable reverse iteration for DenseMap 2017-08-24 23:02:48 +00:00
Analysis Prune whitespaces in blank lines. 2017-08-28 07:48:37 +00:00
AsmParser
BinaryFormat [RISCV] Recognize new relocation types 2017-08-15 12:11:10 +00:00
Bitcode Add strictfp attribute to prevent unwanted optimizations of libm calls 2017-08-14 21:15:13 +00:00
CodeGen [GISel]: Implement widenScalar for Legalizing G_PHI 2017-08-25 04:57:27 +00:00
Config Implement parsing and writing of a single xml manifest file. 2017-07-20 21:42:04 +00:00
DebugInfo [PDB] Serialize records into a stack-allocated buffer. 2017-08-21 20:17:19 +00:00
Demangle
ExecutionEngine Untabify. 2017-08-28 06:47:47 +00:00
FuzzMutate Re-apply "Introduce FuzzMutate library" 2017-08-21 22:57:06 +00:00
IR Prune whitespaces in blank lines. 2017-08-28 07:48:37 +00:00
IRReader
LineEditor
Linker [Linker] Provide callback for internalization 2017-03-13 18:08:11 +00:00
LTO Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
MC [X86AsmParser] Refactor AsmRewrite constructors, NFCI 2017-08-24 15:03:18 +00:00
Object Prune whitespaces in blank lines. 2017-08-28 07:48:37 +00:00
ObjectYAML [yaml2obj][ELF] Add support for program headers 2017-07-19 20:38:46 +00:00
Option Revert r311552: [Bash-autocompletion] Add support for static analyzer flags 2017-08-23 14:48:58 +00:00
Passes Refactor the build{Module|Function}SimplificationPipeline to expose optimization phase. 2017-07-30 04:55:39 +00:00
ProfileData Move two functions to a nicer spot. NFC. 2017-08-02 23:35:27 +00:00
Support [Support][CommandLine] Add cl::Option::setDefault() 2017-08-28 13:39:43 +00:00
TableGen Fix Wdocumentation warning 2017-06-20 12:28:33 +00:00
Target DAG: Fix naming crime 2017-08-25 01:26:13 +00:00
Testing/Support [Testing/Support] Remove the const_cast in TakeExpected 2017-06-22 13:11:50 +00:00
ToolDrivers llvm: add llvm-dlltool support to the archiver 2017-07-18 21:26:38 +00:00
Transforms fix typo; NFC 2017-08-24 15:00:13 +00:00
WindowsManifest llvm-mt: Merge manifest namespaces. 2017-08-19 00:37:41 +00:00
XRay [XRay][tools] Support new kinds of instrumentation map entries 2017-08-21 00:14:06 +00:00
CMakeLists.txt Support: Add a VCSRevision.h header file. 2017-04-13 01:26:12 +00:00
InitializePasses.h Update branch coalescing to be a PowerPC specific pass 2017-08-23 19:25:04 +00:00
LinkAllIR.h Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
LinkAllPasses.h Remove the BBVectorize pass. 2017-06-30 07:09:08 +00:00
module.modulemap Move manifest utils into separate lib, to reduce libxml2 deps. 2017-07-26 01:21:55 +00:00
module.modulemap.build
Pass.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
PassAnalysisSupport.h
PassInfo.h [LegacyPassManager] Remove TargetMachine constructors 2017-05-18 17:21:13 +00:00
PassRegistry.h
PassSupport.h [LegacyPassManager] Remove TargetMachine constructors 2017-05-18 17:21:13 +00:00