]> granicus.if.org Git - llvm/commit
Revert Recommit "[CommandLine] Remove OptionCategory and SubCommand caches from the...
authorHaojian Wu <hokein@google.com>
Thu, 11 Jul 2019 08:54:28 +0000 (08:54 +0000)
committerHaojian Wu <hokein@google.com>
Thu, 11 Jul 2019 08:54:28 +0000 (08:54 +0000)
commit2c80014379907e9d8e61683488dce4d5f4c804c8
tree17421c7ba9b8bbf08fd396d24753b152c83f14a7
parent146fca2f16ee33edd535b41beb852a9e68e6e485
Revert Recommit "[CommandLine] Remove OptionCategory and SubCommand caches from the Option class."

This reverts r365675 (git commit 43d75f977853c3ec891a440c362b2df183a211b5)

The patch causes a crash in SupportTests (CommandLineTest.AliasesWithArguments).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365742 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/CommandLine.h
lib/Support/CommandLine.cpp
unittests/Support/CommandLineTest.cpp