summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/FileUtilities.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-12-09 16:59:22 +0000
committerDouglas Gregor <dgregor@apple.com>2010-12-09 16:59:22 +0000
commitff76cb9727f016a580c45e7e6f86bc763d80b337 (patch)
tree9f5f2a7a5d11ce37d7ee23ab5221c2eb5c2cbd61 /llvm/lib/Support/FileUtilities.cpp
parentb5e52df6ddfe7662cfe9ddf9503e639ccf7d4405 (diff)
downloadbcm5719-llvm-ff76cb9727f016a580c45e7e6f86bc763d80b337.tar.gz
bcm5719-llvm-ff76cb9727f016a580c45e7e6f86bc763d80b337.zip
When an "inline" declaration was followed by a definition not marked
"inline", we weren't giving the definition weak linkage because the "inline" bit wasn't propagated. This was a longstanding FIXME that, somehow, hadn't triggered a bug in the wild. Fix this problem by tracking whether any declaration was marked "inline", and clean up the semantics of GNU's "extern inline" semantics calculation based on this change. Fixes <rdar://problem/8740363>. llvm-svn: 121373
Diffstat (limited to 'llvm/lib/Support/FileUtilities.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud