Home
last modified time | relevance | path

Searched refs:IntWrapper (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/
H A Dinline.cpp313 class IntWrapper { class
317 IntWrapper(int input) : value(input) { in IntWrapper() function in OperatorNew::IntWrapper
323 IntWrapper *obj = new IntWrapper(42); in test()
329 IntWrapper *obj = static_cast<IntWrapper *>(malloc(sizeof(IntWrapper))); in testPlacement()
330 IntWrapper *alias = new (obj) IntWrapper(42); in testPlacement()
H A Ddtor.cpp129 struct IntWrapper { struct
130 IntWrapper() : x(0) {} in IntWrapper() argument
131 ~IntWrapper();
140 IntWrapper arr[2]; in testArrayInvalidation() argument
310 IntWrapper arr[2][2]; in testArrayInvalidation()
329 struct IntWrapper { struct
331 IntWrapper(int y) : x(y) {} in IntWrapper() function
332 IntWrapper() { in IntWrapper() function
338 struct DerivedWrapper : public IntWrapper {
339 DerivedWrapper(int y) : IntWrapper(y) {} in DerivedWrapper()
H A Dreinterpret-cast.cpp6 struct IntWrapper { struct
10 struct Child : public IntWrapper { argument
51 struct IntWrapperSubclass : public IntWrapper {};
54 IntWrapper w;
H A Dproperties.mm7 @interface IntWrapper interface
11 @implementation IntWrapper implementation
15 void testReferenceConsistency(IntWrapper *w) {
25 void testReferenceAssignment(IntWrapper *w) {
H A Dtrack-control-dependency-conditions.cpp636 struct IntWrapper { struct
638 IntWrapper();
648 void f(IntWrapper i) { in f()
H A Dglobal_region_invalidation.mm24 struct IntWrapper { struct
27 extern struct IntWrapper globalStruct; argument
H A Dctor.mm29 struct IntWrapper {
34 IntWrapper a;
37 IntWrapper b(a);
377 IntWrapper values[3];
402 IntWrapper values[2][3];
H A Dproperties.m576 @interface IntWrapper interface
580 @implementation IntWrapper implementation
584 void testConsistencyInt(IntWrapper *w) {
594 void testConsistencyInt2(IntWrapper *w) {
H A Dretain-release.mm375 struct IntWrapper { struct
379 int operator>> (const IntWrapper &W, int (*f)(int)) { argument
384 IntWrapper val = { 42 }; argument
/llvm-project-15.0.7/clang/test/Analysis/inlining/
H A Deager-reclamation-path-notes.cpp5 struct IntWrapper { struct
9 IntWrapper *getNullWrapper() { in getNullWrapper()
24 IntWrapper *ptr = getNullWrapper(); in memberCallBaseDisappears()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/
H A Dasan-symbolize-templated-cxx.cpp14 class IntWrapper { class
19 IntWrapper(int value, std::function<CallBackTy> callback) : value_(value), callback_(callback) {} in IntWrapper() function in IntWrapper
26 using IntW = IntWrapper<void(int)>;
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmatrix-type-operators.cpp124 struct IntWrapper { struct
141 IntWrapper w3; in test_IntWrapper_Add()
156 IntWrapper w3; in test_IntWrapper_Sub()
187 void test_IntWrapper_Multiply(MyMatrix<double, 10, 9> &m, IntWrapper &w3) { in test_IntWrapper_Multiply()
315 double extract_IntWrapper_idx(double4x4 &m, IntWrapper i, UnsignedWrapper j) { in extract_IntWrapper_idx()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dmatrix-type-builtins.cpp79 struct IntWrapper { struct
85 void test_column_major_load_wrapper(unsigned *Ptr, IntWrapper &W) { in test_column_major_load_wrapper() argument
161 void test_column_major_store_wrapper(unsigned *Ptr, MyMatrix<unsigned, 3, 3> &M, IntWrapper &W) { in test_column_major_store_wrapper()
H A Dconstructor-initializer.cpp152 int IntWrapper(int &i) { return 0; }; in IntWrapper() function
159 …: A(IntWrapper(A)), // Due to a conservative implementation, we do not report warnings inside fun… in InitializeUsingSelfExceptions()
H A Dtype-traits.cpp1973 struct IntWrapper struct
1976 IntWrapper(int _value) : value(_value) {} in IntWrapper() argument
1986 FloatWrapper(const IntWrapper& obj) in FloatWrapper() argument
1991 operator IntWrapper() const { in operator IntWrapper()
1992 return IntWrapper(static_cast<int>(value)); in operator IntWrapper()
1998 int t01[T(__is_convertible(IntWrapper, IntWrapper))]; in is_convertible()
1999 int t02[T(__is_convertible(IntWrapper, const IntWrapper))]; in is_convertible()
2000 int t03[T(__is_convertible(IntWrapper, int))]; in is_convertible()
2001 int t04[T(__is_convertible(int, IntWrapper))]; in is_convertible()
2002 int t05[T(__is_convertible(IntWrapper, FloatWrapper))]; in is_convertible()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-emplace.cpp681 class IntWrapper { class
683 IntWrapper(int x) : value(x) {} in IntWrapper() function in IntWrapper
684 IntWrapper operator+(const IntWrapper other) const { in operator +()
685 return IntWrapper(value + other.value); in operator +()
693 std::vector<IntWrapper> v; in testMultipleOpsInPushBack()
694 v.push_back(IntWrapper(42) + IntWrapper(27)); in testMultipleOpsInPushBack()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dconst-correctness-values.cpp705 struct IntWrapper { struct
706 IntWrapper &operator=(unsigned value) { return *this; } in operator =() argument
708 friend Istream &operator>>(Istream &is, IntWrapper &rhs);
714 Istream &operator>>(Istream &is, IntWrapper &rhs) { in operator >>()
/llvm-project-15.0.7/clang/test/Misc/
H A Ddiag-template-diffing.cpp810 struct IntWrapper { struct
818 virtual X<IntWrapper, 1> foo();
823 virtual X<IntWrapper, 2> foo();