From abe1a398e33bac03596116c97a7375d074101903 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 2 Apr 2014 05:58:29 +0000 Subject: Render anonymous entities as '(anonymous )' (and lambdas as '(lambda at ... )') For namespaces, this is consistent with mangling and GCC's debug info behavior. For structs, GCC uses but we prefer consistency between all anonymous entities but don't want to confuse them with template arguments, etc, so we'll just go with parens in all cases. llvm-svn: 205398 --- clang/test/Parser/cxx0x-lambda-expressions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Parser/cxx0x-lambda-expressions.cpp') diff --git a/clang/test/Parser/cxx0x-lambda-expressions.cpp b/clang/test/Parser/cxx0x-lambda-expressions.cpp index 9ce24cbb04a..53ea05ea860 100644 --- a/clang/test/Parser/cxx0x-lambda-expressions.cpp +++ b/clang/test/Parser/cxx0x-lambda-expressions.cpp @@ -34,7 +34,7 @@ class C { typedef int T; const int b = 0; const int c = 1; - int a1[1] = {[b] (T()) {}}; // expected-error{{no viable conversion from '