From: Don Hinton Date: Sat, 22 Jun 2019 23:32:36 +0000 (+0000) Subject: Revert [CommandLine] Remove OptionCategory and SubCommand caches from the Option... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94750391d90bef27c15608783a2cb7885a3a3220;p=llvm Revert [CommandLine] Remove OptionCategory and SubCommand caches from the Option class. This reverts r364134 (git commit a5b83bc9e3b8e8945b55068c762bd6c73621a4b0) Caused errors in the asan bot, so the GeneralCategory global needs to be changed to ManagedStatic. Differential Revision: https://reviews.llvm.org/D62105 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364141 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 2f88150b5a1..3cc2c3c0121 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -201,8 +201,6 @@ public: StringRef getName() const { return Name; } StringRef getDescription() const { return Description; } - - SmallPtrSet