| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| RunLoopAutoreleaseLeakChecker.cpp | 80 static void emitDiagnostics(BoundNodes &Match, 91 const auto *ME = Match.getNodeAs<ObjCMessageExpr>(OtherMsgBind); 95 Match.getNodeAs<ObjCAutoreleasePoolStmt>(AutoreleasePoolBind); 97 Match.getNodeAs<ObjCAutoreleasePoolStmt>(OtherStmtAutoreleasePoolBind); 100 const auto *RL = Match.getNodeAs<ObjCMessageExpr>(RunLoopBind); 101 const auto *RLR = Match.getNodeAs<Stmt>(RunLoopRunBind); 168 auto Matches = match(GroupM, *D, AM.getASTContext()); 169 for (BoundNodes Match : Matches) 170 emitDiagnostics(Match, D, BR, AM, Chkr); 188 auto Matches = match(GroupM, *D, AM.getASTContext()) [all...] |
| ObjCAutoreleaseWriteChecker.cpp | 109 static void emitDiagnostics(BoundNodes &Match, const Decl *D, BugReporter &BR, 114 const auto *PVD = Match.getNodeAs<ParmVarDecl>(ParamBind); 119 const auto *MarkedStmt = Match.getNodeAs<Expr>(ProblematicWriteBind); 124 MarkedStmt = Match.getNodeAs<Expr>(CapturedBind); 134 bool IsMethod = Match.getNodeAs<ObjCMethodDecl>(IsMethodBind) != nullptr; 136 bool IsARP = Match.getNodeAs<ObjCAutoreleasePoolStmt>(IsARPBind) != nullptr; 227 auto Matches = match(MatcherM, *D, AM.getASTContext()); 228 for (BoundNodes Match : Matches) 229 emitDiagnostics(Match, D, BR, AM, this);
|
| PointerIterationChecker.cpp | 35 static void emitDiagnostics(const BoundNodes &Match, const Decl *D, 40 const auto *MarkedStmt = Match.getNodeAs<Stmt>(WarnAtNode); 87 auto Matches = match(MatcherM, *D, AM.getASTContext()); 88 for (const auto &Match : Matches) 89 emitDiagnostics(Match, D, BR, AM, this);
|
| PointerSortingChecker.cpp | 35 static void emitDiagnostics(const BoundNodes &Match, const Decl *D, 40 const auto *MarkedStmt = Match.getNodeAs<CallExpr>(WarnAtNode); 70 // Match any of these function calls. 81 // Match only if the container has pointer-type elements. 101 auto Matches = match(MatcherM, *D, AM.getASTContext()); 102 for (const auto &Match : Matches) 103 emitDiagnostics(Match, D, BR, AM, this);
|
| GCDAntipatternChecker.cpp | 212 auto Matches = match(SemaphoreMatcherM, *D->getBody(), AM.getASTContext()); 213 for (BoundNodes Match : Matches) 214 emitDiagnostics(Match, "semaphore", BR, ADC, this); 217 Matches = match(GroupMatcherM, *D->getBody(), AM.getASTContext()); 218 for (BoundNodes Match : Matches) 219 emitDiagnostics(Match, "group", BR, ADC, this);
|
| OSObjectCStyleCast.cpp | 114 match(stmt(forEachDescendant(CastM)), *D->getBody(), AM.getASTContext()); 115 for (BoundNodes Match : Matches) 116 emitDiagnostics(Match, BR, ADC, this);
|
| /src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/ |
| Stencil.cpp | 172 // the match result, and append it to `Result`. We define an overload for each 181 static Error printNode(StringRef Id, const MatchFinder::MatchResult &Match, 185 auto NodeOrErr = getNode(Match.Nodes, Id); 188 NodeOrErr->print(Os, PrintingPolicy(Match.Context->getLangOpts())); 194 const MatchFinder::MatchResult &Match, std::string *Result) { 195 return printNode(Data.Id, Match, Result); 213 return match(SmartPointer, Ty, Context).size() > 0; 217 const MatchFinder::MatchResult &Match, std::string *Result) { 221 return printNode(Data.Id, Match, Result); 223 const auto *E = Match.Nodes.getNodeAs<Expr>(Data.Id) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| HexagonGenExtract.cpp | 107 bool Match = match(In, m_And(m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), 111 if (!Match) { 114 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), 118 if (!Match) { 122 Match = match(In, m_And(m_Shl(m_Value(BF), m_ConstantInt(CSL)), 124 if (Match && NoSR0) 127 if (!Match) { [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| asan_suppressions.cc | 50 // Match "interceptor_name" suppressions. 51 return suppression_ctx->Match(interceptor_name, kInterceptorName, &s); 63 // Match "odr_violation" suppressions. 64 return suppression_ctx->Match(global_var_name, kODRViolation, &s); 78 // Match "interceptor_via_lib" suppressions. 80 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s)) 92 // Match "interceptor_via_fun" suppressions. 93 if (suppression_ctx->Match(function_name, kInterceptorViaFunction,
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| asan_suppressions.cpp | 49 // Match "interceptor_name" suppressions. 50 return suppression_ctx->Match(interceptor_name, kInterceptorName, &s); 62 // Match "odr_violation" suppressions. 63 return suppression_ctx->Match(global_var_name, kODRViolation, &s); 77 // Match "interceptor_via_lib" suppressions. 79 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s)) 91 // Match "interceptor_via_fun" suppressions. 92 if (suppression_ctx->Match(function_name, kInterceptorViaFunction,
|
| /src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| ClangCommentHTMLTagsEmitter.cpp | 45 StringMatcher::StringPair Match(Spelling, "return true;"); 47 MatchesEndTagOptional.push_back(Match); 49 MatchesEndTagForbidden.push_back(Match);
|
| ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 69 StringMatcher::StringPair Match(Spelling, std::string(CLiteral.str())); 70 NameToUTF8.push_back(Match);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_suppressions.h | 39 bool Match(const char *str, const char *type, Suppression **s);
|
| /src/external/gpl3/gcc.old/dist/contrib/vim-gcc-dev/ftdetect/ |
| gcc-dev.vim | 12 au BufRead match.pd setf gcc-match 14 " Match RTL dump file names such as test.c.234r.pass-name 17 " Match GIMPLE and IPA dump file names
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_suppressions.h | 38 bool Match(const char *str, const char *type, Suppression **s);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| tsan_suppressions.cc | 105 if (suppression_ctx->Match(info.function, stype, sp) || 106 suppression_ctx->Match(info.file, stype, sp) || 107 suppression_ctx->Match(info.module, stype, sp)) { 144 if (suppression_ctx->Match(global.name, stype, &s) || 145 suppression_ctx->Match(global.module, stype, &s)) {
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| tsan_suppressions.cpp | 96 if (suppression_ctx->Match(info.function, stype, sp) || 97 suppression_ctx->Match(info.file, stype, sp) || 98 suppression_ctx->Match(info.module, stype, sp)) { 135 if (suppression_ctx->Match(global.name, stype, &s) || 136 suppression_ctx->Match(global.module, stype, &s)) {
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| re.h | 74 bool Match(const std::string& str); 111 inline bool Regex::Match(const std::string& str) { 148 inline bool Regex::Match(const std::string& str) {
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| re.h | 69 bool Match(const std::string& str); 105 inline bool Regex::Match(const std::string& str) { 142 inline bool Regex::Match(const std::string& str) {
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| LoopWidening.cpp | 70 auto Matches = match( 74 for (BoundNodes Match : Matches) { 75 const VarDecl *VD = Match.getNodeAs<VarDecl>(MatchRef);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/ |
| cpplint.py | 302 # match those on a word boundary. 341 # Match start of assembly blocks 409 def Match(pattern, s): 411 # The regexp compilation caching is inlined in both Match and Search for 416 return _regexp_compile_cache[pattern].match(s) 708 if Match(r'T(EST|est)', self.current_function): 922 line = line.replace(r'\\', 'XX') # after this, \\" does not match to \" 1021 if not _RE_PATTERN_INCLUDE.match(elided): 1195 '#ifndef and #define don\'t match, suggested CPP variable is: %s' % 1352 if _RE_PATTERN_INVALID_INCREMENT.match(line) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| FormatString.cpp | 343 return Match; 363 return Match; 380 return Match; 393 return T == C.UnsignedCharTy || T == C.SignedCharTy ? Match 396 return T == C.UnsignedShortTy ? Match : NoMatch; 398 return T == C.ShortTy ? Match : NoMatch; 400 return T == C.UnsignedIntTy ? Match : NoMatch; 402 return T == C.IntTy ? Match : NoMatch; 404 return T == C.UnsignedLongTy ? Match : NoMatch; 406 return T == C.LongTy ? Match : NoMatch [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/ |
| MCTargetAsmParser.h | 123 MatchOperand_NoMatch, // operand did not match 128 Match, 134 // possible operand classes that the operand might match and call the 138 // is no match, there is currently no mechanism to distinguish which operand is 139 // a closer match. The DiagnosticPredicate distinguishes between 'completely 140 // no match' and 'near match', so the assembler can decide whether to give a 158 // PredicateMethods that return a 'bool' (match or no match). 162 explicit DiagnosticPredicate(bool Match) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/ |
| MatchConsumer.h | 10 /// match results, specifically the `ast_matchers::MatchFinder::MatchResult` 45 /// match. 72 virtual llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &Match,
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| LegalityPredicates.cpp | 47 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]}; 48 return llvm::is_contained(Types, Match); 57 TypePairAndMemDesc Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1], 62 return Match.isCompatible(Entry);
|