X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FSupport%2FCommandLine.h;h=b29fc8736034993d025625d5cb9f00ae73019eb6;hp=515b0bd00f93f657fad8a8d14188a0ae286913bd;hb=0644c7a8aba4defca316c6dfa3485a79fe71e2b6;hpb=6c0351c9963e693c8530b300b66726fd78287be1 diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 515b0bd00f9..b29fc873603 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).