summaryrefslogtreecommitdiff
path: root/include
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
commit106a28c770d2e2ef2cab1528391569680901f967 (patch)
tree10e1eba6f5d527e3c71a7983c999a41b3e5cceb2 /include
parente4db795a4c10b7e662dc1c18bb78699484e9da8c (diff)
downloadllvm-106a28c770d2e2ef2cab1528391569680901f967.tar.gz
llvm-106a28c770d2e2ef2cab1528391569680901f967.tar.bz2
llvm-106a28c770d2e2ef2cab1528391569680901f967.tar.xz
Re-apply r200853, which should not crash after Clang plugins were converted to loadable modules in r201256.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/CommandLine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index 4e0b451246..8d84f3f6df 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/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).