Skip to content
Commit d5ed033d authored by Rafael Espindola's avatar Rafael Espindola
Browse files

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.

llvm-svn: 167703
parent 2700433f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment