Eradicate any mention of C++0x concepts.
llvm-svn: 123860
This commit is contained in:
parent
79be8aecba
commit
312ab72dbd
|
@ -385,11 +385,6 @@ attribute parsing with C++0x's square bracket notation is enabled.</p>
|
||||||
<p>Use <tt>__has_feature(cxx_deleted_functions)</tt> to determine if support for
|
<p>Use <tt>__has_feature(cxx_deleted_functions)</tt> to determine if support for
|
||||||
deleted function definitions (with <tt>= delete</tt>) is enabled.</p>
|
deleted function definitions (with <tt>= delete</tt>) is enabled.</p>
|
||||||
|
|
||||||
<h3 id="cxx_concepts">C++ TR concepts</h3>
|
|
||||||
|
|
||||||
<p>Use <tt>__has_feature(cxx_concepts)</tt> to determine if support for
|
|
||||||
concepts is enabled. clang does not currently implement this feature.</p>
|
|
||||||
|
|
||||||
<h3 id="cxx_lambdas">C++0x lambdas</h3>
|
<h3 id="cxx_lambdas">C++0x lambdas</h3>
|
||||||
|
|
||||||
<p>Use <tt>__has_feature(cxx_lambdas)</tt> to determine if support for
|
<p>Use <tt>__has_feature(cxx_lambdas)</tt> to determine if support for
|
||||||
|
@ -421,8 +416,7 @@ is supported using the <tt>auto</tt> specifier. If this is disabled,
|
||||||
<h3 id="cxx_variadic_templates">C++0x variadic templates</h3>
|
<h3 id="cxx_variadic_templates">C++0x variadic templates</h3>
|
||||||
|
|
||||||
<p>Use <tt>__has_feature(cxx_variadic_templates)</tt> to determine if support
|
<p>Use <tt>__has_feature(cxx_variadic_templates)</tt> to determine if support
|
||||||
for templates taking any number of arguments with the ellipsis notation is
|
for variadic templates is enabled.</p>
|
||||||
enabled. clang does not yet fully implement this feature.</p>
|
|
||||||
|
|
||||||
<h3 id="cxx_inline_namespaces">C++0x inline namespaces</h3>
|
<h3 id="cxx_inline_namespaces">C++0x inline namespaces</h3>
|
||||||
|
|
||||||
|
|
|
@ -556,7 +556,6 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) {
|
||||||
.Case("ownership_returns", true)
|
.Case("ownership_returns", true)
|
||||||
.Case("ownership_takes", true)
|
.Case("ownership_takes", true)
|
||||||
.Case("cxx_inline_namespaces", true)
|
.Case("cxx_inline_namespaces", true)
|
||||||
//.Case("cxx_concepts", false)
|
|
||||||
//.Case("cxx_lambdas", false)
|
//.Case("cxx_lambdas", false)
|
||||||
//.Case("cxx_nullptr", false)
|
//.Case("cxx_nullptr", false)
|
||||||
//.Case("cxx_rvalue_references", false)
|
//.Case("cxx_rvalue_references", false)
|
||||||
|
|
|
@ -21,16 +21,6 @@ int no_nullptr();
|
||||||
// CHECK-NO-0X: no_nullptr
|
// CHECK-NO-0X: no_nullptr
|
||||||
|
|
||||||
|
|
||||||
#if __has_feature(cxx_concepts)
|
|
||||||
int concepts();
|
|
||||||
#else
|
|
||||||
int no_concepts();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// CHECK-0X: no_concepts
|
|
||||||
// CHECK-NO-0X: no_concepts
|
|
||||||
|
|
||||||
|
|
||||||
#if __has_feature(cxx_decltype)
|
#if __has_feature(cxx_decltype)
|
||||||
int has_decltype();
|
int has_decltype();
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue