summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-02-27 14:47:37 +0000
committerAlexander Kornienko <alexfh@google.com>2014-02-27 14:47:37 +0000
commit52a07b819e5bc1f681f56df4ac7c4ec8c27473c6 (patch)
tree21a316807b5d2aa43c339bb8cc174d5a6576dadb /llvm/include/llvm/Support/CommandLine.h
parent46ebecc1fea39ce400444c8a24a209d4aaa89e27 (diff)
downloadbcm5719-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.h4
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).
OpenPOWER on IntegriCloud