Mercurial > hg > Members > tobaru > cbc > CbC_llvm
comparison include/llvm/MC/MCTargetOptionsCommandFlags.h @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 1172e4bd9c6f |
children |
comparison
equal
deleted
inserted
replaced
120:1172e4bd9c6f | 121:803732b1fca8 |
---|---|
51 cl::desc("Treat warnings as errors")); | 51 cl::desc("Treat warnings as errors")); |
52 | 52 |
53 cl::opt<bool> NoWarn("no-warn", cl::desc("Suppress all warnings")); | 53 cl::opt<bool> NoWarn("no-warn", cl::desc("Suppress all warnings")); |
54 cl::alias NoWarnW("W", cl::desc("Alias for --no-warn"), cl::aliasopt(NoWarn)); | 54 cl::alias NoWarnW("W", cl::desc("Alias for --no-warn"), cl::aliasopt(NoWarn)); |
55 | 55 |
56 cl::opt<bool> NoDeprecatedWarn("no-deprecated-warn", | |
57 cl::desc("Suppress all deprecated warnings")); | |
58 | |
56 cl::opt<std::string> | 59 cl::opt<std::string> |
57 ABIName("target-abi", cl::Hidden, | 60 ABIName("target-abi", cl::Hidden, |
58 cl::desc("The name of the ABI to be targeted from the backend."), | 61 cl::desc("The name of the ABI to be targeted from the backend."), |
59 cl::init("")); | 62 cl::init("")); |
60 | 63 |
68 Options.DwarfVersion = DwarfVersion; | 71 Options.DwarfVersion = DwarfVersion; |
69 Options.ShowMCInst = ShowMCInst; | 72 Options.ShowMCInst = ShowMCInst; |
70 Options.ABIName = ABIName; | 73 Options.ABIName = ABIName; |
71 Options.MCFatalWarnings = FatalWarnings; | 74 Options.MCFatalWarnings = FatalWarnings; |
72 Options.MCNoWarn = NoWarn; | 75 Options.MCNoWarn = NoWarn; |
76 Options.MCNoDeprecatedWarn = NoDeprecatedWarn; | |
73 return Options; | 77 return Options; |
74 } | 78 } |
75 | 79 |
76 #endif | 80 #endif |