Home
last modified time | relevance | path

Searched refs:MyIntPointer (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-lifetime-analysis-nocfg.cpp7 struct [[gsl::Pointer(int)]] MyIntPointer { struct
8 MyIntPointer(int *p = nullptr);
12 MyIntPointer(const MyIntOwner &);
34 MyIntPointer releaseAsMyPointer();
45 MyIntPointer p{&i}; in intentionalFalseNegative()
48 new MyIntPointer(p); in intentionalFalseNegative()
49 new MyIntPointer(MyIntPointer{p}); in intentionalFalseNegative()
67 MyIntPointer p = Y{}.a; // TODO in dangligGslPtrFromTemporary()
85 MyIntPointer localPointer; in returningLocalPointer()
114 MyIntPointer p = o; in noFalsePositive()
[all …]
H A Dwarn-lifetime-analysis-nocfg-disabled.cpp8 struct [[gsl::Pointer(int)]] MyIntPointer { struct
9 MyIntPointer(int *p = nullptr);
10 MyIntPointer(const MyIntOwner &);
20 MyIntPointer g() { in g()