diff options
| author | Alexander Kornienko <alexfh@google.com> | 2014-02-27 14:47:37 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2014-02-27 14:47:37 +0000 |
| commit | 52a07b819e5bc1f681f56df4ac7c4ec8c27473c6 (patch) | |
| tree | 21a316807b5d2aa43c339bb8cc174d5a6576dadb /llvm/include/llvm/Support/CommandLine.h | |
| parent | 46ebecc1fea39ce400444c8a24a209d4aaa89e27 (diff) | |
| download | bcm5719-llvm-52a07b819e5bc1f681f56df4ac7c4ec8c27473c6.tar.gz bcm5719-llvm-52a07b819e5bc1f681f56df4ac7c4ec8c27473c6.zip | |
Re-apply r200853, which should not crash after Clang plugins were converted to loadable modules in r201256.
llvm-svn: 202404
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
| -rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 4e0b4512465..8d84f3f6dfe 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -149,8 +149,8 @@ private: public: OptionCategory(const char *const Name, const char *const Description = 0) : Name(Name), Description(Description) { registerCategory(); } - const char *getName() { return Name; } - const char *getDescription() { return Description; } + const char *getName() const { return Name; } + const char *getDescription() const { return Description; } }; // The general Option Category (used as default category). |

