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 | 647be32c6048e24f90f470c557e850597e5526c3 (patch) | |
tree | 2be5c01566ec82e55fd30ceedef970efd887b4a5 /include/clang/StaticAnalyzer/Core/CheckerManager.h | |
parent | c8ad1ab42f269f29bcf6385446e5b728aff7e4ad (diff) | |
download | clang-647be32c6048e24f90f470c557e850597e5526c3.tar.gz |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/StaticAnalyzer/Core/CheckerManager.h')
-rw-r--r-- | include/clang/StaticAnalyzer/Core/CheckerManager.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/include/clang/StaticAnalyzer/Core/CheckerManager.h b/include/clang/StaticAnalyzer/Core/CheckerManager.h index 081718ea77..9d87b440dc 100644 --- a/include/clang/StaticAnalyzer/Core/CheckerManager.h +++ b/include/clang/StaticAnalyzer/Core/CheckerManager.h @@ -71,7 +71,7 @@ public: } }; -/// \brief Describes the different reasons a pointer escapes +/// Describes the different reasons a pointer escapes /// during analysis. enum PointerEscapeKind { /// A pointer escapes due to binding its value to a location @@ -143,7 +143,7 @@ public: // registerChecker //===----------------------------------------------------------------------===// - /// \brief Used to register checkers. + /// Used to register checkers. /// /// \returns a pointer to the checker object. template <typename CHECKER> @@ -180,11 +180,11 @@ public: // Functions for running checkers for AST traversing.. //===----------------------------------------------------------------------===// - /// \brief Run checkers handling Decls. + /// Run checkers handling Decls. void runCheckersOnASTDecl(const Decl *D, AnalysisManager& mgr, BugReporter &BR); - /// \brief Run checkers handling Decls containing a Stmt body. + /// Run checkers handling Decls containing a Stmt body. void runCheckersOnASTBody(const Decl *D, AnalysisManager& mgr, BugReporter &BR); @@ -192,7 +192,7 @@ public: // Functions for running checkers for path-sensitive checking. //===----------------------------------------------------------------------===// - /// \brief Run checkers for pre-visiting Stmts. + /// Run checkers for pre-visiting Stmts. /// /// The notification is performed for every explored CFGElement, which does /// not include the control flow statements such as IfStmt. @@ -205,7 +205,7 @@ public: runCheckersForStmt(/*isPreVisit=*/true, Dst, Src, S, Eng); } - /// \brief Run checkers for post-visiting Stmts. + /// Run checkers for post-visiting Stmts. /// /// The notification is performed for every explored CFGElement, which does /// not include the control flow statements such as IfStmt. @@ -219,13 +219,13 @@ public: runCheckersForStmt(/*isPreVisit=*/false, Dst, Src, S, Eng, wasInlined); } - /// \brief Run checkers for visiting Stmts. + /// Run checkers for visiting Stmts. void runCheckersForStmt(bool isPreVisit, ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const Stmt *S, ExprEngine &Eng, bool wasInlined = false); - /// \brief Run checkers for pre-visiting obj-c messages. + /// Run checkers for pre-visiting obj-c messages. void runCheckersForPreObjCMessage(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const ObjCMethodCall &msg, @@ -233,7 +233,7 @@ public: runCheckersForObjCMessage(ObjCMessageVisitKind::Pre, Dst, Src, msg, Eng); } - /// \brief Run checkers for post-visiting obj-c messages. + /// Run checkers for post-visiting obj-c messages. void runCheckersForPostObjCMessage(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const ObjCMethodCall &msg, @@ -243,7 +243,7 @@ public: wasInlined); } - /// \brief Run checkers for visiting an obj-c message to nil. + /// Run checkers for visiting an obj-c message to nil. void runCheckersForObjCMessageNil(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const ObjCMethodCall &msg, @@ -252,20 +252,20 @@ public: Eng); } - /// \brief Run checkers for visiting obj-c messages. + /// Run checkers for visiting obj-c messages. void runCheckersForObjCMessage(ObjCMessageVisitKind visitKind, ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const ObjCMethodCall &msg, ExprEngine &Eng, bool wasInlined = false); - /// \brief Run checkers for pre-visiting obj-c messages. + /// Run checkers for pre-visiting obj-c messages. void runCheckersForPreCall(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const CallEvent &Call, ExprEngine &Eng) { runCheckersForCallEvent(/*isPreVisit=*/true, Dst, Src, Call, Eng); } - /// \brief Run checkers for post-visiting obj-c messages. + /// Run checkers for post-visiting obj-c messages. void runCheckersForPostCall(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const CallEvent &Call, ExprEngine &Eng, bool wasInlined = false) { @@ -273,13 +273,13 @@ public: wasInlined); } - /// \brief Run checkers for visiting obj-c messages. + /// Run checkers for visiting obj-c messages. void runCheckersForCallEvent(bool isPreVisit, ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const CallEvent &Call, ExprEngine &Eng, bool wasInlined = false); - /// \brief Run checkers for load/store of a location. + /// Run checkers for load/store of a location. void runCheckersForLocation(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, SVal location, @@ -288,42 +288,42 @@ public: const Stmt *BoundEx, ExprEngine &Eng); - /// \brief Run checkers for binding of a value to a location. + /// Run checkers for binding of a value to a location. void runCheckersForBind(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, SVal location, SVal val, const Stmt *S, ExprEngine &Eng, const ProgramPoint &PP); - /// \brief Run checkers for end of analysis. + /// Run checkers for end of analysis. void runCheckersForEndAnalysis(ExplodedGraph &G, BugReporter &BR, ExprEngine &Eng); - /// \brief Run checkers on beginning of function. + /// Run checkers on beginning of function. void runCheckersForBeginFunction(ExplodedNodeSet &Dst, const BlockEdge &L, ExplodedNode *Pred, ExprEngine &Eng); - /// \brief Run checkers on end of function. + /// Run checkers on end of function. void runCheckersForEndFunction(NodeBuilderContext &BC, ExplodedNodeSet &Dst, ExplodedNode *Pred, ExprEngine &Eng); - /// \brief Run checkers for branch condition. + /// Run checkers for branch condition. void runCheckersForBranchCondition(const Stmt *condition, ExplodedNodeSet &Dst, ExplodedNode *Pred, ExprEngine &Eng); - /// \brief Run checkers between C++ operator new and constructor calls. + /// Run checkers between C++ operator new and constructor calls. void runCheckersForNewAllocator(const CXXNewExpr *NE, SVal Target, ExplodedNodeSet &Dst, ExplodedNode *Pred, ExprEngine &Eng, bool wasInlined = false); - /// \brief Run checkers for live symbols. + /// Run checkers for live symbols. /// /// Allows modifying SymbolReaper object. For example, checkers can explicitly /// register symbols of interest as live. These symbols will not be marked @@ -331,7 +331,7 @@ public: void runCheckersForLiveSymbols(ProgramStateRef state, SymbolReaper &SymReaper); - /// \brief Run checkers for dead symbols. + /// Run checkers for dead symbols. /// /// Notifies checkers when symbols become dead. For example, this allows /// checkers to aggressively clean up/reduce the checker state and produce @@ -342,7 +342,7 @@ public: ExprEngine &Eng, ProgramPoint::Kind K); - /// \brief Run checkers for region changes. + /// Run checkers for region changes. /// /// This corresponds to the check::RegionChanges callback. /// \param state The current program state. @@ -361,7 +361,7 @@ public: const LocationContext *LCtx, const CallEvent *Call); - /// \brief Run checkers when pointers escape. + /// Run checkers when pointers escape. /// /// This notifies the checkers about pointer escape, which occurs whenever /// the analyzer cannot track the symbol any more. For example, as a @@ -383,23 +383,23 @@ public: PointerEscapeKind Kind, RegionAndSymbolInvalidationTraits *ITraits); - /// \brief Run checkers for handling assumptions on symbolic values. + /// Run checkers for handling assumptions on symbolic values. ProgramStateRef runCheckersForEvalAssume(ProgramStateRef state, SVal Cond, bool Assumption); - /// \brief Run checkers for evaluating a call. + /// Run checkers for evaluating a call. /// /// Warning: Currently, the CallEvent MUST come from a CallExpr! void runCheckersForEvalCall(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const CallEvent &CE, ExprEngine &Eng); - /// \brief Run checkers for the entire Translation Unit. + /// Run checkers for the entire Translation Unit. void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU, AnalysisManager &mgr, BugReporter &BR); - /// \brief Run checkers for debug-printing a ProgramState. + /// Run checkers for debug-printing a ProgramState. /// /// Unlike most other callbacks, any checker can simply implement the virtual /// method CheckerBase::printState if it has custom data to print. |