Mercurial > hg > CbC > CbC_llvm
diff include/llvm/Support/Options.h @ 148:63bd29f05246
merged
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 19:46:37 +0900 |
parents | c2174574ed3a |
children |
line wrap: on
line diff
--- a/include/llvm/Support/Options.h Sun Dec 23 19:23:36 2018 +0900 +++ b/include/llvm/Support/Options.h Wed Aug 14 19:46:37 2019 +0900 @@ -1,9 +1,8 @@ //===- llvm/Support/Options.h - Debug options support -----------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// \file @@ -56,7 +55,7 @@ } // namespace detail -/// \brief Singleton class used to register debug options. +/// Singleton class used to register debug options. /// /// The OptionRegistry is responsible for managing lifetimes of the options and /// provides interfaces for option registration and reading values from options. @@ -66,7 +65,7 @@ private: DenseMap<void *, cl::Option *> Options; - /// \brief Adds a cl::Option to the registry. + /// Adds a cl::Option to the registry. /// /// \param Key unique key for option /// \param O option to map to \p Key @@ -79,10 +78,10 @@ ~OptionRegistry(); OptionRegistry() {} - /// \brief Returns a reference to the singleton instance. + /// Returns a reference to the singleton instance. static OptionRegistry &instance(); - /// \brief Registers an option with the OptionRegistry singleton. + /// Registers an option with the OptionRegistry singleton. /// /// \tparam ValT type of the option's data /// \tparam Base class used to key the option @@ -100,7 +99,7 @@ instance().addOption(&detail::OptionKey<ValT, Base, Mem>::ID, Option); } - /// \brief Returns the value of the option. + /// Returns the value of the option. /// /// \tparam ValT type of the option's data /// \tparam Base class used to key the option