diff options
author | Adrian Prantl <aprantl@apple.com> | 2018-05-09 01:00:01 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2018-05-09 01:00:01 +0000 |
commit | 9fc8faf9e619733a21915d4c41696f09aa2a7a50 (patch) | |
tree | f35a970439bcea95268071f86c04a93d09fdabeb /clang/lib/ARCMigrate/TransformActions.cpp | |
parent | cfa98548307264f29ec447e24452117b72bcb517 (diff) | |
download | bcm5719-llvm-9fc8faf9e619733a21915d4c41696f09aa2a7a50.tar.gz bcm5719-llvm-9fc8faf9e619733a21915d4c41696f09aa2a7a50.zip |
Remove \brief commands from doxygen comments.
This is similar to the LLVM change https://reviews.llvm.org/D46290.
We've been running doxygen with the autobrief option for a couple of
years now. This makes the \brief markers into our comments
redundant. Since they are a visual distraction and we don't want to
encourage more \brief markers in new code either, this patch removes
them all.
Patch produced by
for i in $(git grep -l '\@brief'); do perl -pi -e 's/\@brief //g' $i & done
for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done
Differential Revision: https://reviews.llvm.org/D46320
llvm-svn: 331834
Diffstat (limited to 'clang/lib/ARCMigrate/TransformActions.cpp')
-rw-r--r-- | clang/lib/ARCMigrate/TransformActions.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/lib/ARCMigrate/TransformActions.cpp b/clang/lib/ARCMigrate/TransformActions.cpp index 7439eb28594..704be4374d3 100644 --- a/clang/lib/ARCMigrate/TransformActions.cpp +++ b/clang/lib/ARCMigrate/TransformActions.cpp @@ -19,7 +19,7 @@ using namespace arcmt; namespace { -/// \brief Collects transformations and merges them before applying them with +/// Collects transformations and merges them before applying them with /// with applyRewrites(). E.g. if the same source range /// is requested to be removed twice, only one rewriter remove will be invoked. /// Rewrites happen in "transactions"; if one rewrite in the transaction cannot @@ -61,7 +61,7 @@ class TransformActionsImpl { Range_ExtendsEnd }; - /// \brief A range to remove. It is a character range. + /// A range to remove. It is a character range. struct CharRange { FullSourceLoc Begin, End; @@ -107,7 +107,7 @@ class TransformActionsImpl { typedef std::map<FullSourceLoc, TextsVec, FullSourceLoc::BeforeThanCompare> InsertsMap; InsertsMap Inserts; - /// \brief A list of ranges to remove. They are always sorted and they never + /// A list of ranges to remove. They are always sorted and they never /// intersect with each other. std::list<CharRange> Removals; @@ -115,7 +115,7 @@ class TransformActionsImpl { std::vector<std::pair<CharRange, SourceLocation> > IndentationRanges; - /// \brief Keeps text passed to transformation methods. + /// Keeps text passed to transformation methods. llvm::StringMap<bool> UniqueText; public: @@ -167,12 +167,12 @@ private: void addRemoval(CharSourceRange range); void addInsertion(SourceLocation loc, StringRef text); - /// \brief Stores text passed to the transformation methods to keep the string + /// Stores text passed to the transformation methods to keep the string /// "alive". Since the vast majority of text will be the same, we also unique /// the strings using a StringMap. StringRef getUniqueText(StringRef text); - /// \brief Computes the source location just past the end of the token at + /// Computes the source location just past the end of the token at /// the given source location. If the location points at a macro, the whole /// macro expansion is skipped. static SourceLocation getLocForEndOfToken(SourceLocation loc, @@ -577,14 +577,14 @@ void TransformActionsImpl::applyRewrites( } } -/// \brief Stores text passed to the transformation methods to keep the string +/// Stores text passed to the transformation methods to keep the string /// "alive". Since the vast majority of text will be the same, we also unique /// the strings using a StringMap. StringRef TransformActionsImpl::getUniqueText(StringRef text) { return UniqueText.insert(std::make_pair(text, false)).first->first(); } -/// \brief Computes the source location just past the end of the token at +/// Computes the source location just past the end of the token at /// the given source location. If the location points at a macro, the whole /// macro expansion is skipped. SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, |