]> granicus.if.org Git - clang/commitdiff
Eradicate any mention of C++0x concepts.
authorDouglas Gregor <dgregor@apple.com>
Wed, 19 Jan 2011 23:15:20 +0000 (23:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 19 Jan 2011 23:15:20 +0000 (23:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123860 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LanguageExtensions.html
lib/Lex/PPMacroExpansion.cpp
test/Lexer/has_feature_cxx0x.cpp

index e080aef3c30b7a897a963421dc91fc8b5ea752fe..879089ed6c887aa9b923a46f403286881b96a318 100644 (file)
@@ -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
 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>
 
 <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>
 
 <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
-enabled. clang does not yet fully implement this feature.</p>
+for variadic templates is enabled.</p>
 
 <h3 id="cxx_inline_namespaces">C++0x inline namespaces</h3>
 
index 54e46913926d2a424b54836097a9f5873964dd35..0bfadad4398aa6eb2002616804f3f8751031cfa7 100644 (file)
@@ -556,7 +556,6 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) {
            .Case("ownership_returns", true)
            .Case("ownership_takes", true)
            .Case("cxx_inline_namespaces", true)
-         //.Case("cxx_concepts", false)
          //.Case("cxx_lambdas", false)
          //.Case("cxx_nullptr", false)
          //.Case("cxx_rvalue_references", false)
index 5b0f79834eee0e3501f104aa9e8b7e31779fe0f1..dcd46b75149d524830286f3db630caf812da33e7 100644 (file)
@@ -21,16 +21,6 @@ int 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)
 int has_decltype();
 #else