Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
651f13cea278ec967336033dd032faef0e9fc2ec
/
test
/
SemaCXX
/
linkage.cpp
651f13c
Updated to Clang 3.5a.
by Stephen Hines
· 10 years ago
88e37c2
Add a testcase for a recent regression.
by Rafael Espindola
· 11 years ago
750dc2b
Change linkage computation so it doesn't depend on FunctionDecl::isExternC or VarDecl::isExternC, and instead queries what it actually cares about: whether the given declaration is inside an extern "C" context. Fundamentally, figuring out whether a function/variable uses C linkage requires knowing the linkage, and the logic in FunctionDecl::isExternC and VarDecl::isExternC was getting it wrong. Given that, fix FunctionDecl::isExternC and VarDecl::isExternC to use much simpler implementations that depend on the fixed linkage computation.
by Eli Friedman
· 12 years ago
dd9d645
Progress towards making isUsed() reflect whether a declaration is odr-used; don't set isUsed for local variables which are referenced in unevaluated contexts. Make other code use isReferenced() (which basically indicates that a declaration isn't dead) where appropriate.
by Eli Friedman
· 12 years ago
10aad44
Fix the rest of PR9316 along with some other bugs spotted by inspection.
by Chandler Carruth
· 13 years ago
094b643
Likely fix for PR9316 and other unknown bugs: don't use the anonynmous
by Chandler Carruth
· 13 years ago
af8ca37
Move the check that gives functions with unique-external types unique-external
by John McCall
· 13 years ago
f9536f4
Test case accidentally left out of my last commit.
by John McCall
· 13 years ago