Revert "Give external linkage and mangling to lambdas inside inline variables and...
authorVitaly Buka <vitalybuka@google.com>
Thu, 21 Sep 2017 02:51:56 +0000 (02:51 +0000)
committerVitaly Buka <vitalybuka@google.com>
Thu, 21 Sep 2017 02:51:56 +0000 (02:51 +0000)
commit17def2174993874b2cc0434b4fa7ea7f02331633
treeb2a8cc4d97a6736f1f07279cca84886650060c87
parente85a0eca212f6d6d8fdbf04b548bea37102612de
Revert "Give external linkage and mangling to lambdas inside inline variables and variable templates."

To fix: runtime error: load of value 15, which is not a valid value for type 'clang::LVComputationKind'

This reverts commit r313827.

llvm-svn: 313856
clang/lib/AST/Decl.cpp
clang/lib/AST/ItaniumMangle.cpp
clang/lib/AST/Linkage.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaLambda.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/CodeGenCXX/mangle-lambdas.cpp
clang/test/SemaCXX/vartemplate-lambda.cpp
clang/test/SemaTemplate/instantiate-static-var.cpp