]> granicus.if.org Git - clang/commitdiff
Fix the test files by removing the unnecessary -emit-llvm flag (should address Matt...
authorFaisal Vali <faisalv@yahoo.com>
Fri, 27 Sep 2013 16:45:48 +0000 (16:45 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Fri, 27 Sep 2013 16:45:48 +0000 (16:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191531 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p5-generic-lambda-1y.cpp

index cd773b427812b3c35ab7196c3e7221926c4c274a..7773aedb4ee46833922ed3c36fc821bd071bf8bc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++1y %s -verify -emit-llvm
+// RUN: %clang_cc1 -fsyntax-only -std=c++1y %s -verify
 namespace return_type_deduction_ok {
  auto l = [](auto a) ->auto { return a; }(2); 
  auto l2 = [](auto a) ->decltype(auto) { return a; }(2);  
index c1311617efb78d2cf8683bbb33e43d3ce38679bd..ba41cb47f59f3b5da353655d378e13601191d683 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++1y -DCXX1Y -emit-llvm\r
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++1y -DCXX1Y \r
 \r
 namespace test_factorial {\r
 \r
@@ -70,7 +70,6 @@ int test2() {
   {\r
     auto L = [](auto *a) { \r
                 return (*a)(a); }; //expected-error{{called object type 'double' is not a function}}\r
-    //l(&l);\r
     double d;\r
     L(&d); //expected-note{{in instantiation of}}\r
     auto M = [](auto b) { return b; };\r
@@ -79,7 +78,6 @@ int test2() {
   {\r
     auto L = [](auto *a) ->decltype (a->foo()) { //expected-note2{{candidate template ignored:}}\r
                 return (*a)(a); }; \r
-    //l(&l);\r
     double d;\r
     L(&d); //expected-error{{no matching function for call}} \r
     auto M = [](auto b) { return b; };\r
@@ -118,8 +116,6 @@ namespace nested_lambdas {
                            return a + b;\r
                         };\r
               };\r
-   // auto M = L(3.14);\r
-   // return M('4');    \r
   }\r
   auto get_lambda() {\r
     return [](auto a) {\r