Home
last modified time | relevance | path

Searched refs:templ (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.cpp212 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 Dsanitizer_libignore.cpp32 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 Dsanitizer_suppressions.cpp98 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 Dsanitizer_suppressions.h24 char *templ; member
H A Dsanitizer_libignore.h53 char *templ; member
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Dtemplate-opencl-types.clcpp9 void templ() {
17templ<image1d_t>(); // expected-note{{in instantiation of function template specialization 'templ<…
18templ<half>(); // expected-note{{in instantiation of function template specialization 'templ<half>…
19templ<__local event_t>(); // expected-note{{in instantiation of function template specialization '
H A Dinvalid-kernel.clcpp14 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 Dattr-loader-uninitialized.cpp31 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 Dattr-target-mv-member-funcs.cpp55 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 Ddebug-CallGraph.cpp56 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 Dbuild-explicit-make-pair.cpp16 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 Dunused-raii.cpp40 void templ() { in templ() function
148 templ<FooBar>(); in test()
149 templ<Bar>(); in test()
H A Dthrow-keyword-missing.cpp98 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 Dpro-type-static-cast-downcast.cpp108 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 Dpro-type-cstyle-cast.cpp131 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 Dp17-crash.cpp9 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 Dp8-0x.cpp57 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 Dsanitizer_suppressions_test.cpp19 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 Dtemplate_default_argument.cpp10 class templ {}; class
19 templ<G> bar() { in bar()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_suppressions.cpp99 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 Dtsan_suppressions.cpp99 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 Dredundant-string-init.cpp140 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 Dcomplete-template-keywords.cpp1 templ
/llvm-project-15.0.7/clang/test/PCH/
H A Dcxx-explicit-specifier.cpp65 namespace templ { namespace
H A Dcxx-templates.cpp38 S<char, float>::templ(); in test()

12