diff options
Diffstat (limited to 'include/clang/Tooling/Refactoring.h')
-rw-r--r-- | include/clang/Tooling/Refactoring.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/clang/Tooling/Refactoring.h b/include/clang/Tooling/Refactoring.h index bc95c3b09e..64b018ea26 100644 --- a/include/clang/Tooling/Refactoring.h +++ b/include/clang/Tooling/Refactoring.h @@ -30,7 +30,7 @@ class Rewriter; namespace tooling { -/// \brief A tool to run refactorings. +/// A tool to run refactorings. /// /// This is a refactoring specific version of \see ClangTool. FrontendActions /// passed to run() and runAndSave() should add replacements to @@ -43,17 +43,17 @@ public: std::shared_ptr<PCHContainerOperations> PCHContainerOps = std::make_shared<PCHContainerOperations>()); - /// \brief Returns the file path to replacements map to which replacements + /// Returns the file path to replacements map to which replacements /// should be added during the run of the tool. std::map<std::string, Replacements> &getReplacements(); - /// \brief Call run(), apply all generated replacements, and immediately save + /// Call run(), apply all generated replacements, and immediately save /// the results to disk. /// /// \returns 0 upon success. Non-zero upon failure. int runAndSave(FrontendActionFactory *ActionFactory); - /// \brief Apply all stored replacements to the given Rewriter. + /// Apply all stored replacements to the given Rewriter. /// /// FileToReplaces will be deduplicated with `groupReplacementsByFile` before /// application. @@ -65,14 +65,14 @@ public: bool applyAllReplacements(Rewriter &Rewrite); private: - /// \brief Write all refactored files to disk. + /// Write all refactored files to disk. int saveRewrittenFiles(Rewriter &Rewrite); private: std::map<std::string, Replacements> FileToReplaces; }; -/// \brief Groups \p Replaces by the file path and applies each group of +/// Groups \p Replaces by the file path and applies each group of /// Replacements on the related file in \p Rewriter. In addition to applying /// given Replacements, this function also formats the changed code. /// |