aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-25 22:24:25 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-25 22:24:25 +0000
commitd85b5b9b8fcf53906d9a61649b3657ca0d902017 (patch)
tree4c7551b9d56f064196b368224ea44e6b332e60a6 /lib/Frontend/PCHWriter.cpp
parent66078610be5e4319de02efa283b07887c73c2e27 (diff)
Implement the rules in C++ [basic.link] and C99 6.2.2 for computing
the linkage of a declaration. Switch the lame (and completely wrong) NamedDecl::hasLinkage() over to using the new NamedDecl::getLinkage(), along with the "can this declaration be a template argument?" check that started all of this. Fixes -fsyntax-only for PR5597. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriter.cpp')
0 files changed, 0 insertions, 0 deletions