summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/DeclPrinterTest.cpp
diff options
context:
space:
mode:
authorNico Rieck <nico.rieck@gmail.com>2014-01-21 23:54:36 +0000
committerNico Rieck <nico.rieck@gmail.com>2014-01-21 23:54:36 +0000
commitf8e8b5f5c29678288f1a71bd2f14a3ba6843b112 (patch)
treee119498c5bcdf004603129d5ab4e0e0a902731de /clang/unittests/AST/DeclPrinterTest.cpp
parent601b22c37741559037cfb1b75d9331ed3481bc76 (diff)
downloadbcm5719-llvm-f8e8b5f5c29678288f1a71bd2f14a3ba6843b112.tar.gz
bcm5719-llvm-f8e8b5f5c29678288f1a71bd2f14a3ba6843b112.zip
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. llvm-svn: 199774
Diffstat (limited to 'clang/unittests/AST/DeclPrinterTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud