Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/Analysis/
Dself-assign.cpp15 class StringUsed { class
17 StringUsed(const char *s = "") : str(strdup(s)) {} in StringUsed() function in StringUsed
18 StringUsed(const StringUsed &rhs) : str(strdup(rhs.str)) {} in StringUsed() function in StringUsed
19 ~StringUsed();
20 StringUsed& operator=(const StringUsed &rhs);
21 StringUsed& operator=(StringUsed &&rhs);
27 StringUsed::~StringUsed() { in ~StringUsed()
31 StringUsed& StringUsed::operator=(const StringUsed &rhs) { // expected-note{{Assuming rhs == *this}… in operator =()
39 StringUsed& StringUsed::operator=(StringUsed &&rhs) { // expected-note{{Assuming rhs == *this}} exp… in operator =()
46 StringUsed::operator const char*() const { in operator const char*()
[all …]