X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FSupport%2FOptions.h;h=7b61b2308f575fc350d211bbb14cac46c31dd92b;hb=3c4b3a54581fe5badf08b9a0a32f8b2e5f55151d;hp=4fd1bff358fd7034886d9804b0bdd94ae9312685;hpb=fa4129347ff209f580a5fb57c53d60a13ac685e6;p=oota-llvm.git diff --git a/include/llvm/Support/Options.h b/include/llvm/Support/Options.h index 4fd1bff358f..7b61b2308f5 100644 --- a/include/llvm/Support/Options.h +++ b/include/llvm/Support/Options.h @@ -61,7 +61,7 @@ char OptionKey::ID = 0; /// The OptionRegistry is responsible for managing lifetimes of the options and /// provides interfaces for option registration and reading values from options. /// This object is a singleton, only one instance should ever exist so that all -/// options are registered in teh same place. +/// options are registered in the same place. class OptionRegistry { private: DenseMap Options; @@ -71,7 +71,7 @@ private: /// \param Key unique key for option /// \param O option to map to \p Key /// - /// Allocated cl::Options are owened by the OptionRegistry and are deallocated + /// Allocated cl::Options are owned by the OptionRegistry and are deallocated /// on destruction or removal void addOption(void *Key, cl::Option *O); @@ -91,7 +91,7 @@ public: /// Options are keyed off the template parameters to generate unique static /// characters. The template parameters are (1) the type of the data the /// option stores (\p ValT), the class that will read the option (\p Base), - /// and the memeber that the class will store the data into (\p Mem). + /// and the member that the class will store the data into (\p Mem). template static void registerOption(const char *ArgStr, const char *Desc, const ValT &InitValue) {