diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-01-09 00:59:40 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-01-09 00:59:40 +0000 |
| commit | b5d1a73988b80ca57b5702a10baff1b20d9d4cbc (patch) | |
| tree | 30a1e90c37a4127cddccc66f275b35e166e8c591 /clang/test/PCH | |
| parent | 94a9ae776d940fe05985c9a984d1a40534eebdeb (diff) | |
| download | bcm5719-llvm-b5d1a73988b80ca57b5702a10baff1b20d9d4cbc.tar.gz bcm5719-llvm-b5d1a73988b80ca57b5702a10baff1b20d9d4cbc.zip | |
Don't invent a '$auto-x-y' name for auto types in generic lambdas. This is no
better than the 'template-parameter-x-y' name that we'd get in AST printing,
and is worse in several ways (it's harder to distinguish it from a
user-supplied name, it's wrong after substituting some number of outer
levels, it wastes time and space constructing an IdentifierInfo, ...).
llvm-svn: 225489
Diffstat (limited to 'clang/test/PCH')
| -rw-r--r-- | clang/test/PCH/cxx1y-lambdas.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/PCH/cxx1y-lambdas.mm b/clang/test/PCH/cxx1y-lambdas.mm index ee4a2ba3ecc..becf6cb6422 100644 --- a/clang/test/PCH/cxx1y-lambdas.mm +++ b/clang/test/PCH/cxx1y-lambdas.mm @@ -50,7 +50,7 @@ int add(int x, int y) { }
// CHECK-PRINT: inline int add_int_slowly_twice
-// CHECK-PRINT: lambda = [] ($auto-0-0 z
+// CHECK-PRINT: lambda = [] (type-parameter-0-0 z
// CHECK-PRINT: init_capture
// CHECK-PRINT: [&, x( t )]
|

