| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common.cpp | 212 if (templ && templ[0] == '^') { in TemplateMatch() 214 templ++; in TemplateMatch() 217 while (templ && templ[0]) { in TemplateMatch() 218 if (templ[0] == '*') { in TemplateMatch() 219 templ++; in TemplateMatch() 224 if (templ[0] == '$') in TemplateMatch() 228 char *tpos = (char*)internal_strchr(templ, '*'); in TemplateMatch() 229 char *tpos1 = (char*)internal_strchr(templ, '$'); in TemplateMatch() 235 const char *spos = internal_strstr(str, templ); in TemplateMatch() 236 str = spos + internal_strlen(templ); in TemplateMatch() [all …]
|
| H A D | sanitizer_libignore.cpp | 32 lib->templ = internal_strdup(name_templ); in AddIgnoredLibrary() 47 TemplateMatch(lib->templ, name)) in OnLibraryLoaded() 62 if (!TemplateMatch(lib->templ, mod.full_name()) && in OnLibraryLoaded() 69 SanitizerToolName, lib->templ, lib->name, mod.full_name()); in OnLibraryLoaded() 78 lib->templ, mod.full_name()); in OnLibraryLoaded() 93 SanitizerToolName, lib->name, lib->templ); in OnLibraryLoaded()
|
| H A D | sanitizer_suppressions.cpp | 98 if (0 == internal_strcmp(cur.type, type) && TemplateMatch(cur.templ, str)) { in Match() 145 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse() 146 internal_memcpy(s.templ, line, end2 - line); in Parse() 147 s.templ[end2 - line] = 0; in Parse()
|
| H A D | sanitizer_suppressions.h | 24 char *templ; member
|
| H A D | sanitizer_libignore.h | 53 char *templ; member
|
| /llvm-project-15.0.7/clang/test/SemaOpenCLCXX/ |
| H A D | template-opencl-types.clcpp | 9 void templ() { 17 …templ<image1d_t>(); // expected-note{{in instantiation of function template specialization 'templ<… 18 …templ<half>(); // expected-note{{in instantiation of function template specialization 'templ<half>… 19 …templ<__local event_t>(); // expected-note{{in instantiation of function template specialization '…
|
| H A D | invalid-kernel.clcpp | 14 kernel void templ(T par) { //expected-error{{kernel functions cannot be used in a template declarat…
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | attr-loader-uninitialized.cpp | 31 template<typename T> struct templ{T * t;}; argument 34 templ<int> templ_int [[clang::loader_uninitialized]]; 37 templ<trivial> templ_trivial [[clang::loader_uninitialized]]; 41 templ<incomplete> templ_incomplete [[clang::loader_uninitialized]];
|
| H A D | attr-target-mv-member-funcs.cpp | 55 struct templ { struct 63 templ<int> a; in templ_use() argument 64 templ<double> b; in templ_use()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | debug-CallGraph.cpp | 56 void templ(T t) { in templ() function 61 void templ<double>(double t) { in templ() function 66 templ(5); in templUser() 67 templ(5.5); in templUser()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/ |
| H A D | build-explicit-make-pair.cpp | 16 void templ(T a, T b) { in templ() function 46 templ(i, i); in test() local 47 templ(1U, 2U); in test()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | unused-raii.cpp | 40 void templ() { in templ() function 148 templ<FooBar>(); in test() 149 templ<Bar>(); in test()
|
| H A D | throw-keyword-missing.cpp | 98 void templ(int i) { in templ() function 106 templ<RegularException>(4); in funcCallWithTempExcTest() 107 templ<RegularClass>(4); in funcCallWithTempExcTest()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
| H A D | pro-type-static-cast-downcast.cpp | 108 void templ() { in templ() function 113 templ<Derived, Base>(); //FIXME: this should trigger a warning in templ_bad_call() 117 templ<Base, Derived>(); // OK, upcast to a public base in templ_good_call()
|
| H A D | pro-type-cstyle-cast.cpp | 131 void templ() { in templ() function 136 templ<Derived, Base>(); //FIXME: this should trigger a warning in templ_bad_call() 140 templ<Base, Derived>(); // OK, upcast to a public base in templ_good_call()
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.unary/expr.new/ |
| H A D | p17-crash.cpp | 9 template < typename T > class templ { class 13 new templ<int>[1][1]; in func()
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
| H A D | p8-0x.cpp | 57 struct templ { struct 61 …template class templ<int>; // expected-note{{in instantiation of template class 'PR10127::templ<in… variable 62 template class templ<outer>; variable
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_suppressions_test.cpp | 19 static bool MyMatch(const char *templ, const char *func) { in MyMatch() argument 21 snprintf(tmp, sizeof(tmp), "%s", templ); in MyMatch() 77 EXPECT_STREQ(templs[i], s->templ); in CheckSuppressions()
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | template_default_argument.cpp | 10 class templ {}; class 19 templ<G> bar() { in bar()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_suppressions.cpp | 99 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", (*sp)->templ); in IsSuppressed() 137 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", s->templ); in IsSuppressed() 158 matched[i]->type, matched[i]->templ); in PrintMatchedSuppressions()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_suppressions.cpp | 99 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", (*sp)->templ); in IsSuppressed() 137 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", s->templ); in IsSuppressed() 158 matched[i]->type, matched[i]->templ); in PrintMatchedSuppressions()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | redundant-string-init.cpp | 140 void templ() { in templ() function 151 templ<int>(); in h() 152 templ<double>(); in h()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | complete-template-keywords.cpp | 1 templ
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | cxx-explicit-specifier.cpp | 65 namespace templ { namespace
|
| H A D | cxx-templates.cpp | 38 S<char, float>::templ(); in test()
|