diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-11-12 04:10:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-11-12 04:10:23 +0000 |
commit | 538fb98685522bb7234c693f12e82b8893e290ff (patch) | |
tree | 6f7055ac59dde57c6fb6ccc4f1109248c500bae4 /lib/Basic/Targets.cpp | |
parent | 778dd4a0b20cc176e441527734b1e3ccfd25e47a (diff) |
In Sema::MergeVarDecl we handle merging of storage classes and visibility
attributes. In cases where the merged declaration is fully equivalent to the
two original ones, some of the code was getLVForDecl was duplicated.
Cases that are still handled in getLVForDecl are things like
__private_extern__ int N;
int N;
For which we cannot produce a single merged decl with all the information.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions