Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-self-assign-field.mm5 int a_;
7 a_ = a_; // expected-warning {{assigning field to itself}}
10 this->a_ = a_; // expected-warning {{assigning field to itself}}
12 a_ += a_; // Shouldn't warn.
18 s->a_ = s->a_;
23 t->a_ = s->a_;
32 t->s_->a_ = t->s_->a_;
37 t2->s_->a_ = t->s_->a_;
49 int a_; field
63 a_ = i->a_;
[all …]
H A Dwarn-thread-safety-analysis.c45 int a_ GUARDED_BY(foo_.mu_);
46 int *b_ PT_GUARDED_BY(foo_.mu_) = &a_;
104 …set_value(&a_, 0); // expected-warning{{calling function 'set_value' requires holding mutex 'foo_.… in main()
107 set_value(&a_, 1); in main()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.factories/range.single.view/
H A Dctor.in_place.pass.cpp23 int a_, b_; member
24 constexpr TakesTwoInts(int a, int b) : a_(a), b_(b) {} in TakesTwoInts()
30 assert(sv.data()->a_ == 1); in test()
36 assert(sv.data()->a_ == 1); in test()
/llvm-project-15.0.7/llvm/test/DebugInfo/Inputs/
H A Ddwarfdump-test.cc2 int a_; member in DummyClass
4 DummyClass(int a) : a_(a) {} in DummyClass()
6 return a_ + b; in add()
H A Ddwarfdump-test-zlib.cc2 int a_; member in DummyClass
4 DummyClass(int a) : a_(a) {} in DummyClass()
6 return a_ + b; in add()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/
H A Dconstruct_at.pass.cpp24 constexpr Foo(int a, char b, double c) : a_(a), b_(b), c_(c) { } in Foo()
27 return a_ == other.a_ && b_ == other.b_ && c_ == other.c_; in operator ==()
31 int a_; member
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/
H A Dfill_n.pass.cpp112 char a_; member in A
115 explicit A(char a) : a_(a) {} in A()
119 {return x.a_ == y.a_;} in operator ==()
/llvm-project-15.0.7/flang/test/Fir/
H A Dexternal-mangling.fir25 // CHECK: %{{.*}} = fir.address_of(@a_) : !fir.ref<!fir.array<4xi8>>
29 // CHECK: fir.global common @a_(dense<0> : vector<4xi8>) : !fir.array<4xi8>
33 // LLVMIR: %{{.*}} = llvm.mlir.addressof @a_ : !llvm.ptr<array<4 x i8>>
38 // LLVMIR: llvm.mlir.global common @a_(dense<0> : vector<4xi8>) : !llvm.array<4 x i8>
/llvm-project-15.0.7/llvm/test/Instrumentation/MemorySanitizer/
H A Dattributes.ll7 declare void @a_() sanitize_memory readnone
15 call void @a_()
16 call void @a_() readnone
/llvm-project-15.0.7/clang/test/Modules/
H A Dredundant-template-default-arg3.cpp70 inline int a_ = 43; variable
71 template <typename T, int *i = &a_>
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dnew-delete.cpp564 Foo() : a_(new scoped_array<int>[5]) { } in Foo()
565 scoped_array< scoped_array<int> > a_; member
574 Foo2() : a_(new scoped_array2<int>[5]) { } in Foo2()
575 scoped_array2< scoped_array2<int> > a_; member
H A Dwarn-unused-private-field.cpp239 A() : p_(__null), b_(false), a_(this), p2_(nullptr) {} in A()
242 A* a_; // expected-warning{{private field 'a_' is not used}} member in pr13413::A
H A Dwarn-thread-safety-analysis.cpp923 if (a_ == 4) in func1()
951 res = b1.a_ + b3->b_; in func()
953 b1.a_ = res + b3->b_; in func()
1282 res = a_ + 5; in foo()
1291 a_ = x + 1; in bar()
1337 b1->a_ = 5; in func()
1338 b2->a_ = 3; // \ in func()
1404 child->a_ = 5; // \ in Func()
1411 a_ = y; in bar()
1445 child->a_ = 5; in Func()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dmacro-parentheses.cpp33 #define GOOD16(x) a_ ## x, b_ ## x = c_ ## x - 1,
50 #define GOOD33(x) if (!a__##x) a_##x = &f(#x)
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dmember-template-access-expr.cpp36 A<T> a_; member in B
46 a_.~A<T>(); in destroy()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dranges.replace_if.pass.cpp62 constexpr void test(std::array<int, N> a_, Pred pred, int val, std::array<int, N> expected) { in test() argument
64 auto a = a_; in test()
72 auto a = a_; in test()
/llvm-project-15.0.7/libcxx/test/std/iterators/iterator.range/
H A Dbegin-end.pass.cpp203 int *a_; member
204 constexpr int *begin() const { return a_; } in begin()
205 constexpr int *end() const { return a_ + 3; } in end()
206 constexpr int *rbegin() const { return a_; } in rbegin()
207 constexpr int *rend() const { return a_ + 3; } in rend()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dpr17354.ll28 %a_ = getelementptr inbounds %struct.CS, %struct.CS* %agg.result, i32 0, i32 0
29 store i32 0, i32* %a_, align 4
/llvm-project-15.0.7/lldb/test/API/commands/expression/pr52257/
H A Dmain.cpp4 pair<char *> a_[]; member
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dhalf-arith-strict.ll105 %a_ = fadd half 0.0, %a
107 %nega = fneg half %a_
136 %a_ = fadd half 0.0, %a
137 %nega = fneg half %a_
H A Dfloat-arith.ll521 %a_ = fadd float 0.0, %a
523 %nega = fsub float -0.0, %a_
737 %a_ = fadd float 0.0, %a
738 %nega = fsub float -0.0, %a_
978 %a_ = fadd float 0.0, %a ; avoid negation using xor
981 %1 = fmul contract float %a_, %b_
1051 %a_ = fadd float 0.0, %a ; avoid negation using xor
1053 %1 = fmul contract float %a_, %b_
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Dpass-by-value.cpp227 T(array<int, 10> a) : a_(a) {} in T()
229 array<int, 10> a_; member
/llvm-project-15.0.7/mlir/test/IR/
H A Dpretty-region-args.mlir22 // CHECK-NEXT: ^bb{{.*}}(%a_.5Ex: i32, %_0: i32, %arg0: index):
/llvm-project-15.0.7/clang/test/CXX/class/class.union/
H A Dp1.cpp6 int a_; member in Okay
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.swappable/
H A Dswappable_with.compile.pass.cpp665 constexpr Proxy(A& a_) : a{&a_} {} in Proxy()

12