/external/clang/lib/StaticAnalyzer/Core/ |
CheckerRegistry.cpp | 1 //===--- CheckerRegistry.cpp - Maintains all available checkers -*- C++ -*-===// 47 static void collectCheckers(const CheckerRegistry::CheckerInfoList &checkers, 52 auto end = checkers.cend(); 54 std::lower_bound(checkers.cbegin(), end, packageInfo, checkerNameLT); 75 // Step through all the checkers in the package. 86 Checkers.push_back(CheckerInfo(fn, name, desc)); 99 // Sort checkers for efficient collection. 100 std::sort(Checkers.begin(), Checkers.end(), checkerNameLT); 102 // Collect checkers enabled by the options [all...] |
CheckerManager.cpp | 53 // Functions for running checkers for AST traversing.. 61 CachedDeclCheckers *checkers = nullptr; local 64 checkers = &(CCI->second); 66 // Find the checkers that should run for this Decl and cache them. 67 checkers = &CachedDeclCheckersMap[DeclKind]; 71 checkers->push_back(info.CheckFn); 75 assert(checkers); 77 I = checkers->begin(), E = checkers->end(); I != E; ++I) 90 // Functions for running checkers for path-sensitive checking 227 auto &checkers = getObjCMessageCheckers(visitKind); local [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-member-expr.cpp | 15 CheckersOrdered Checkers; 19 Checkers.push_back(S<void *>()); // expected-note {{in instantiation of member function 'vector<S<void *> >::push_back' requested here}}
|
/external/clang/utils/TableGen/ |
ClangSACheckersEmitter.cpp | 1 //=- ClangSACheckersEmitter.cpp - Generate Clang SA checkers tables -*- C++ -*- 10 // This tablegen backend emits Clang Static Analyzer checkers tables. 23 // Static Analyzer Checkers Tables generation 74 llvm::DenseSet<const Record*> Checkers; 85 llvm::DenseSet<const Record *> &checkers = recordGroupMap[package]->Checkers; local 87 I = checkers.begin(), E = checkers.end(); I != E; ++I) 88 recordGroupMap[group]->Checkers.insert(*I); 98 std::vector<Record*> checkers = Records.getAllDerivedDefinitions("Checker") local 264 llvm::DenseSet<const Record *> &checkers = I->second.Checkers; local [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 1 //===--- CheckerRegistry.h - Maintains all available checkers ---*- C++ -*-===// 44 // The clang_registerCheckers function may add any number of checkers to the 45 // registry. If any checkers require additional initialization, use the three- 74 /// Manages a set of available checkers for running a static analysis. 75 /// The checkers are organized into packages by full name, where including 76 /// a package will recursively include all subpackages and checkers within it. 118 /// all checkers specified by the given CheckerOptInfo list. The order of this 120 /// This can be used to exclude certain checkers in an included package. 128 /// Prints the name and description of all checkers in this registry. 133 mutable CheckerInfoList Checkers; [all...] |
CheckerManager.h | 132 /// \brief Used to register checkers. 166 // Functions for running checkers for AST traversing.. 169 /// \brief Run checkers handling Decls. 173 /// \brief Run checkers handling Decls containing a Stmt body. 178 // Functions for running checkers for path-sensitive checking. 181 /// \brief Run checkers for pre-visiting Stmts. 194 /// \brief Run checkers for post-visiting Stmts. 208 /// \brief Run checkers for visiting Stmts. 214 /// \brief Run checkers for pre-visiting obj-c messages. 222 /// \brief Run checkers for post-visiting obj-c messages [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 1 //===--- CheckerRegistry.h - Maintains all available checkers ---*- C++ -*-===// 44 // The clang_registerCheckers function may add any number of checkers to the 45 // registry. If any checkers require additional initialization, use the three- 74 /// Manages a set of available checkers for running a static analysis. 75 /// The checkers are organized into packages by full name, where including 76 /// a package will recursively include all subpackages and checkers within it. 118 /// all checkers specified by the given CheckerOptInfo list. The order of this 120 /// This can be used to exclude certain checkers in an included package. 128 /// Prints the name and description of all checkers in this registry. 135 mutable CheckerInfoList Checkers; [all...] |
CheckerManager.h | 132 /// \brief Used to register checkers. 166 // Functions for running checkers for AST traversing.. 169 /// \brief Run checkers handling Decls. 173 /// \brief Run checkers handling Decls containing a Stmt body. 178 // Functions for running checkers for path-sensitive checking. 181 /// \brief Run checkers for pre-visiting Stmts. 194 /// \brief Run checkers for post-visiting Stmts. 208 /// \brief Run checkers for visiting Stmts. 214 /// \brief Run checkers for pre-visiting obj-c messages. 222 /// \brief Run checkers for post-visiting obj-c messages [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 1 //===--- CheckerRegistry.h - Maintains all available checkers ---*- C++ -*-===// 44 // The clang_registerCheckers function may add any number of checkers to the 45 // registry. If any checkers require additional initialization, use the three- 74 /// Manages a set of available checkers for running a static analysis. 75 /// The checkers are organized into packages by full name, where including 76 /// a package will recursively include all subpackages and checkers within it. 118 /// all checkers specified by the given CheckerOptInfo list. The order of this 120 /// This can be used to exclude certain checkers in an included package. 128 /// Prints the name and description of all checkers in this registry. 135 mutable CheckerInfoList Checkers; [all...] |
CheckerManager.h | 132 /// \brief Used to register checkers. 166 // Functions for running checkers for AST traversing.. 169 /// \brief Run checkers handling Decls. 173 /// \brief Run checkers handling Decls containing a Stmt body. 178 // Functions for running checkers for path-sensitive checking. 181 /// \brief Run checkers for pre-visiting Stmts. 194 /// \brief Run checkers for post-visiting Stmts. 208 /// \brief Run checkers for visiting Stmts. 214 /// \brief Run checkers for pre-visiting obj-c messages. 222 /// \brief Run checkers for post-visiting obj-c messages [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 1 //===--- CheckerRegistry.h - Maintains all available checkers ---*- C++ -*-===// 44 // The clang_registerCheckers function may add any number of checkers to the 45 // registry. If any checkers require additional initialization, use the three- 74 /// Manages a set of available checkers for running a static analysis. 75 /// The checkers are organized into packages by full name, where including 76 /// a package will recursively include all subpackages and checkers within it. 118 /// all checkers specified by the given CheckerOptInfo list. The order of this 120 /// This can be used to exclude certain checkers in an included package. 128 /// Prints the name and description of all checkers in this registry. 135 mutable CheckerInfoList Checkers; [all...] |
CheckerManager.h | 132 /// \brief Used to register checkers. 166 // Functions for running checkers for AST traversing.. 169 /// \brief Run checkers handling Decls. 173 /// \brief Run checkers handling Decls containing a Stmt body. 178 // Functions for running checkers for path-sensitive checking. 181 /// \brief Run checkers for pre-visiting Stmts. 194 /// \brief Run checkers for post-visiting Stmts. 208 /// \brief Run checkers for visiting Stmts. 214 /// \brief Run checkers for pre-visiting obj-c messages. 222 /// \brief Run checkers for post-visiting obj-c messages [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 1 //===--- CheckerRegistry.h - Maintains all available checkers ---*- C++ -*-===// 44 // The clang_registerCheckers function may add any number of checkers to the 45 // registry. If any checkers require additional initialization, use the three- 74 /// Manages a set of available checkers for running a static analysis. 75 /// The checkers are organized into packages by full name, where including 76 /// a package will recursively include all subpackages and checkers within it. 118 /// all checkers specified by the given CheckerOptInfo list. The order of this 120 /// This can be used to exclude certain checkers in an included package. 128 /// Prints the name and description of all checkers in this registry. 135 mutable CheckerInfoList Checkers; [all...] |
CheckerManager.h | 132 /// \brief Used to register checkers. 166 // Functions for running checkers for AST traversing.. 169 /// \brief Run checkers handling Decls. 173 /// \brief Run checkers handling Decls containing a Stmt body. 178 // Functions for running checkers for path-sensitive checking. 181 /// \brief Run checkers for pre-visiting Stmts. 194 /// \brief Run checkers for post-visiting Stmts. 208 /// \brief Run checkers for visiting Stmts. 214 /// \brief Run checkers for pre-visiting obj-c messages. 222 /// \brief Run checkers for post-visiting obj-c messages [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 1 //===--- CheckerRegistry.h - Maintains all available checkers ---*- C++ -*-===// 44 // The clang_registerCheckers function may add any number of checkers to the 45 // registry. If any checkers require additional initialization, use the three- 74 /// Manages a set of available checkers for running a static analysis. 75 /// The checkers are organized into packages by full name, where including 76 /// a package will recursively include all subpackages and checkers within it. 118 /// all checkers specified by the given CheckerOptInfo list. The order of this 120 /// This can be used to exclude certain checkers in an included package. 128 /// Prints the name and description of all checkers in this registry. 135 mutable CheckerInfoList Checkers; [all...] |
CheckerManager.h | 132 /// \brief Used to register checkers. 166 // Functions for running checkers for AST traversing.. 169 /// \brief Run checkers handling Decls. 173 /// \brief Run checkers handling Decls containing a Stmt body. 178 // Functions for running checkers for path-sensitive checking. 181 /// \brief Run checkers for pre-visiting Stmts. 194 /// \brief Run checkers for post-visiting Stmts. 208 /// \brief Run checkers for visiting Stmts. 214 /// \brief Run checkers for pre-visiting obj-c messages. 222 /// \brief Run checkers for post-visiting obj-c messages [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 1 //===--- CheckerRegistry.h - Maintains all available checkers ---*- C++ -*-===// 44 // The clang_registerCheckers function may add any number of checkers to the 45 // registry. If any checkers require additional initialization, use the three- 74 /// Manages a set of available checkers for running a static analysis. 75 /// The checkers are organized into packages by full name, where including 76 /// a package will recursively include all subpackages and checkers within it. 118 /// all checkers specified by the given CheckerOptInfo list. The order of this 120 /// This can be used to exclude certain checkers in an included package. 128 /// Prints the name and description of all checkers in this registry. 135 mutable CheckerInfoList Checkers; [all...] |
CheckerManager.h | 132 /// \brief Used to register checkers. 166 // Functions for running checkers for AST traversing.. 169 /// \brief Run checkers handling Decls. 173 /// \brief Run checkers handling Decls containing a Stmt body. 178 // Functions for running checkers for path-sensitive checking. 181 /// \brief Run checkers for pre-visiting Stmts. 194 /// \brief Run checkers for post-visiting Stmts. 208 /// \brief Run checkers for visiting Stmts. 214 /// \brief Run checkers for pre-visiting obj-c messages. 222 /// \brief Run checkers for post-visiting obj-c messages [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 1 //===--- CheckerRegistry.h - Maintains all available checkers ---*- C++ -*-===// 44 // The clang_registerCheckers function may add any number of checkers to the 45 // registry. If any checkers require additional initialization, use the three- 74 /// Manages a set of available checkers for running a static analysis. 75 /// The checkers are organized into packages by full name, where including 76 /// a package will recursively include all subpackages and checkers within it. 118 /// all checkers specified by the given CheckerOptInfo list. The order of this 120 /// This can be used to exclude certain checkers in an included package. 128 /// Prints the name and description of all checkers in this registry. 135 mutable CheckerInfoList Checkers; [all...] |
CheckerManager.h | 132 /// \brief Used to register checkers. 166 // Functions for running checkers for AST traversing.. 169 /// \brief Run checkers handling Decls. 173 /// \brief Run checkers handling Decls containing a Stmt body. 178 // Functions for running checkers for path-sensitive checking. 181 /// \brief Run checkers for pre-visiting Stmts. 194 /// \brief Run checkers for post-visiting Stmts. 208 /// \brief Run checkers for visiting Stmts. 214 /// \brief Run checkers for pre-visiting obj-c messages. 222 /// \brief Run checkers for post-visiting obj-c messages [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 1 //===--- CheckerRegistry.h - Maintains all available checkers ---*- C++ -*-===// 44 // The clang_registerCheckers function may add any number of checkers to the 45 // registry. If any checkers require additional initialization, use the three- 74 /// Manages a set of available checkers for running a static analysis. 75 /// The checkers are organized into packages by full name, where including 76 /// a package will recursively include all subpackages and checkers within it. 118 /// all checkers specified by the given CheckerOptInfo list. The order of this 120 /// This can be used to exclude certain checkers in an included package. 128 /// Prints the name and description of all checkers in this registry. 135 mutable CheckerInfoList Checkers; [all...] |
CheckerManager.h | 132 /// \brief Used to register checkers. 166 // Functions for running checkers for AST traversing.. 169 /// \brief Run checkers handling Decls. 173 /// \brief Run checkers handling Decls containing a Stmt body. 178 // Functions for running checkers for path-sensitive checking. 181 /// \brief Run checkers for pre-visiting Stmts. 194 /// \brief Run checkers for post-visiting Stmts. 208 /// \brief Run checkers for visiting Stmts. 214 /// \brief Run checkers for pre-visiting obj-c messages. 222 /// \brief Run checkers for post-visiting obj-c messages [all...] |
/external/clang/utils/analyzer/ |
SATestBuild.py | 40 The list of checkers tested are hardcoded in the Checkers variable. 41 For testing additional checkers, use the SA_ADDITIONAL_CHECKERS environment 193 # The list of checkers used during analyzes. 194 # Currently, consists of all the non-experimental checkers, plus a few alpha 195 # checkers we don't want to regress on. 196 Checkers="alpha.unix.SimpleStream,alpha.security.taint,cplusplus.NewDeleteLeaks,core,cplusplus,deadcode,security,unix,osx" 281 AllCheckers = Checkers 358 CmdPrefix += "-analyzer-checker=" + Checkers +" -fcxx-exceptions -fblocks "
|
/external/clang/soong/ |
tblgen.go | 122 case out == "Checkers.inc": 123 return "-gen-clang-sa-checkers"
|