
particular don't assume that two declarations of the same kind in the same context are declaring the same entity. That's not true when the same name is declared multiple times as internal-linkage symbols within a module. (getCanonicalDecl is cheap now, so we can just use it here.) llvm-svn: 251898
7 lines
151 B
Plaintext
7 lines
151 B
Plaintext
module X {
|
|
textual header "const.h"
|
|
module A { header "a.h" export * }
|
|
module B { header "b.h" export * }
|
|
module C { header "c.h" export * }
|
|
}
|