]> granicus.if.org Git - clang/commit
When we resolve the type of an 'auto' variable, clear out the linkage
authorDouglas Gregor <dgregor@apple.com>
Mon, 20 Feb 2012 20:05:29 +0000 (20:05 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 20 Feb 2012 20:05:29 +0000 (20:05 +0000)
commitee18803f163c4ffcbc8f55a1aae48514d4f80521
treeff5108df89a52c1b9b5a097ad05e88edb8cce551
parentbe580e5d31c20d98e5b1da536dc874527e093b20
When we resolve the type of an 'auto' variable, clear out the linkage
of that variable; it will need to be recomputed with the resolved
type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150984 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CodeGenCXX/lambda-expressions.cpp