diff options
| author | Nico Rieck <nico.rieck@gmail.com> | 2014-01-21 23:54:36 +0000 |
|---|---|---|
| committer | Nico Rieck <nico.rieck@gmail.com> | 2014-01-21 23:54:36 +0000 |
| commit | d7a617aada79c73b283490c6e5699f5ac345d402 (patch) | |
| tree | bc55bbb4b77f8458a9ca69fa8ae5606c5dd17ad2 /lib/CodeGen/CGExpr.cpp | |
| parent | 8e5a73f4d3d429d0fda24b364d851e7fe32de6a9 (diff) | |
| download | clang-d7a617aada79c73b283490c6e5699f5ac345d402.tar.gz clang-d7a617aada79c73b283490c6e5699f5ac345d402.tar.bz2 clang-d7a617aada79c73b283490c6e5699f5ac345d402.tar.xz | |
Delay attribute checking until auto types are deduced
Checking in ActOnVariableDeclarator computes and caches the linkage using
the non-deduced auto type which defaults to external linkage. Depending on
how the auto type is deduced linkage can change and conflict with the
cached linkage, hitting asserts.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
