aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-04 03:27:32 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-04 03:27:32 +0000
commit4dc336b20fabec14568151e0634ad6501fa0e9c6 (patch)
treed7bd65943bdb85e5a8adf9cb81e78787aa9aad78 /clang/lib/Frontend/CompilerInvocation.cpp
parent14aef12e244dc5ea1d315acaabb26f33988e44c3 (diff)
downloadllvm-4dc336b20fabec14568151e0634ad6501fa0e9c6.zip
llvm-4dc336b20fabec14568151e0634ad6501fa0e9c6.tar.gz
llvm-4dc336b20fabec14568151e0634ad6501fa0e9c6.tar.bz2
Avoid computing the linkage instead of avoiding caching it.
This mostly reverts 178733, but keeps the tests. I don't claim to understand how hidden sub modules work or when we need to see them (is that documented?), but this has the same semantics and avoids adding hasExternalLinkageUncached which has the same foot gun potential as the old hasExternalLinkage. Last but not least, not computing linkage when it is not needed is more efficient. llvm-svn: 178739
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions