mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Fix stack-use-after-scope in test previously hidden by -fmerge-all-constants
llvm-svn: 329489
This commit is contained in:
parent
e88501d956
commit
c6f736aceb
@ -96,9 +96,9 @@ cl::OptionCategory TestCategory("Test Options", "Description");
|
||||
TEST(CommandLineTest, ModifyExisitingOption) {
|
||||
StackOption<int> TestOption("test-option", cl::desc("old description"));
|
||||
|
||||
const char Description[] = "New description";
|
||||
const char ArgString[] = "new-test-option";
|
||||
const char ValueString[] = "Integer";
|
||||
static const char Description[] = "New description";
|
||||
static const char ArgString[] = "new-test-option";
|
||||
static const char ValueString[] = "Integer";
|
||||
|
||||
StringMap<cl::Option *> &Map =
|
||||
cl::getRegisteredOptions(*cl::TopLevelSubCommand);
|
||||
|
Loading…
x
Reference in New Issue
Block a user