OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CopyCtorIssues
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/SemaCXX/
cxx98-compat-flags.cpp
12
namespace
CopyCtorIssues
{
31
const Private &a = Private(); // expected-warning {{copying variable of type '
CopyCtorIssues
::Private' when binding a reference to a temporary would invoke an inaccessible constructor in C++98}}
32
const NoViable &b = NoViable(); // expected-warning {{copying variable of type '
CopyCtorIssues
::NoViable' when binding a reference to a temporary would find no viable constructor in C++98}}
33
const Ambiguous &c = Ambiguous(); // expected-warning {{copying variable of type '
CopyCtorIssues
::Ambiguous' when binding a reference to a temporary would find ambiguous constructors in C++98}}
34
const Deleted &d = Deleted(); // expected-warning {{copying variable of type '
CopyCtorIssues
::Deleted' when binding a reference to a temporary would invoke a deleted constructor in C++98}}
cxx98-compat-pedantic.cpp
55
namespace
CopyCtorIssues
{
74
const Private &a = Private(); // expected-warning {{copying variable of type '
CopyCtorIssues
::Private' when binding a reference to a temporary would invoke an inaccessible constructor in C++98}}
75
const NoViable &b = NoViable(); // expected-warning {{copying variable of type '
CopyCtorIssues
::NoViable' when binding a reference to a temporary would find no viable constructor in C++98}}
77
const Ambiguous &c = Ambiguous(); // expected-warning {{copying variable of type '
CopyCtorIssues
::Ambiguous' when binding a reference to a temporary would find ambiguous constructors in C++98}}
79
const Deleted &d = Deleted(); // expected-warning {{copying variable of type '
CopyCtorIssues
::Deleted' when binding a reference to a temporary would invoke a deleted constructor in C++98}}
Completed in 241 milliseconds